simple_json
simple_json copied to clipboard
DateTime is failing
NoSuchMethodError (NoSuchMethodError: Class 'DateTime' has no instance method 'toJson'. Receiver: Instance of 'DateTime' Tried calling: toJson())
Seems the code might fail with DateTime? date;
The question mark.
I made a PR that fixes this.