Skip to content

Commit c1c0c8f

Browse files
committed
Format code
1 parent 573b643 commit c1c0c8f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

lib/src/api/converters.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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].

lib/src/api/typed_value.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)