Skip to content

Commit 770e0ea

Browse files
committed
fix deserialize signature
1 parent b24d434 commit 770e0ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/adapter/serialization_adapter.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ mixin _SerializationAdapter<T extends DataModelMixin<T>> on _BaseAdapter<T> {
102102
@protected
103103
@visibleForTesting
104104
Future<DeserializedData<T>> deserialize(Object? data,
105-
{String? key, async = true}) async {
105+
{String? key, bool async = true}) async {
106106
final record = async
107107
? await runInIsolate(
108108
(adapter) => adapter._deserialize(adapter, data, key: key))

0 commit comments

Comments
 (0)