Open sgehrman opened 3 years ago
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.
NoSuchMethodError (NoSuchMethodError: Class 'DateTime' has no instance method 'toJson'. Receiver: Instance of 'DateTime' Tried calling: toJson())