1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-13 10:59:04 +00:00

Re-generate built_value classes (#587)

This commit is contained in:
Brett Morgan
2020-11-07 12:23:48 +11:00
committed by GitHub
parent 98574d1844
commit 25bfc7846d
6 changed files with 197 additions and 8 deletions

View File

@@ -53,7 +53,7 @@ class _$SearchSerializer implements StructuredSerializer<Search> {
result.results.replace(serializers.deserialize(value,
specifiedType:
const FullType(BuiltList, const [const FullType(Photo)]))
as BuiltList<dynamic>);
as BuiltList<Object>);
break;
}
}

View File

@@ -46,7 +46,7 @@ class _$ApiErrorSerializer implements StructuredSerializer<ApiError> {
result.errors.replace(serializers.deserialize(value,
specifiedType:
const FullType(BuiltList, const [const FullType(String)]))
as BuiltList<dynamic>);
as BuiltList<Object>);
break;
}
}

View File

@@ -189,13 +189,13 @@ class _$PhotoSerializer implements StructuredSerializer<Photo> {
result.tags.replace(serializers.deserialize(value,
specifiedType:
const FullType(BuiltList, const [const FullType(Tags)]))
as BuiltList<dynamic>);
as BuiltList<Object>);
break;
case 'current_user_collections':
result.currentUserCollections.replace(serializers.deserialize(value,
specifiedType: const FullType(BuiltList, const [
const FullType(CurrentUserCollections)
])) as BuiltList<dynamic>);
])) as BuiltList<Object>);
break;
case 'urls':
result.urls.replace(serializers.deserialize(value,

View File

@@ -72,7 +72,7 @@ class _$SearchPhotosResponseSerializer
result.results.replace(serializers.deserialize(value,
specifiedType:
const FullType(BuiltList, const [const FullType(Photo)]))
as BuiltList<dynamic>);
as BuiltList<Object>);
break;
}
}