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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user