toJson<T> method
Override original toJson for DateTime as-is handling.
Implementation
@override
/// Override original toJson for DateTime as-is handling.
dynamic toJson<T>(T value) {
if (value is DateTime) return value.toIso8601String();
return value;
}