mirror of
https://github.com/flutter/samples.git
synced 2026-07-12 03:52:29 +00:00
Flutter 3.29 beta (#2571)
This commit is contained in:
@@ -32,7 +32,9 @@ abstract class Location implements Built<Location, LocationBuilder> {
|
||||
|
||||
static Location? fromJson(String jsonString) {
|
||||
return serializers.deserializeWith(
|
||||
Location.serializer, json.decode(jsonString));
|
||||
Location.serializer,
|
||||
json.decode(jsonString),
|
||||
);
|
||||
}
|
||||
|
||||
static Serializer<Location> get serializer => _$locationSerializer;
|
||||
|
||||
Reference in New Issue
Block a user