Query$user$user$residentialAddress$location.fromJson constructor
Query$user$user$residentialAddress$location.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Query$user$user$residentialAddress$location.fromJson(
Map<String, dynamic> json) {
final l$type = json['type'];
final l$coordinates = json['coordinates'];
return Query$user$user$residentialAddress$location(
type: l$type == null
? null
: fromJson$Enum$ZoneTypesEnum((l$type as String)),
coordinates: (l$coordinates as List<dynamic>?)
?.map((e) => (e as num).toDouble())
.toList(),
);
}