Skip to content

Commit 2066f88

Browse files
committed
Miscellaneous fixes
1 parent aafd169 commit 2066f88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/api/typed_value.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ extension ConversionExt on Object? {
221221
}
222222

223223
/// Converts given object to a map if possible. Returns null otherwise.
224-
Map? toMap() {
224+
Map<Object?,Object?>? toMap() {
225225
if (this == null) return null;
226226
if (this is Map) return this as Map;
227227
if (this is String) return tryJsonDecode(this as String).tryCast<Map>();

0 commit comments

Comments
 (0)