File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -83,10 +83,12 @@ class DateTimeMapConverter
8383 const DateTimeMapConverter ();
8484
8585 @override
86- Map <String , DateTime > fromJson (Map <String , dynamic > json) => deserialize (json);
86+ Map <String , DateTime > fromJson (Map <String , dynamic > json) =>
87+ deserialize (json);
8788
8889 @override
89- Map <String , dynamic > toJson (Map <String , DateTime > object) => serialize (object);
90+ Map <String , dynamic > toJson (Map <String , DateTime > object) =>
91+ serialize (object);
9092
9193 /// Top level function for deserializing the millis from JSON as the values of
9294 /// a map to [DateTime] .
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ extension TypedStringExt on String {
8888 /// Converts given string to a typed value derived from the original value
8989 /// of this string.
9090 Object ? parsedValue () {
91- if (this == 'null' ) return null ;
91+ if (this == 'null' ) return null ;
9292 return toInt () ?? toDouble () ?? toBool () ?? toList () ?? toMap () ?? this ;
9393 }
9494
You can’t perform that action at this time.
0 commit comments