LocationBounds.fromMap constructor
- JsonMap map
Creates from a map.
Implementation
factory LocationBounds.fromMap(JsonMap map) {
return LocationBounds(
southwest: Coords.fromMap(
Map<String, dynamic>.from(map['southwest'] as Map),
),
northeast: Coords.fromMap(
Map<String, dynamic>.from(map['northeast'] as Map),
),
);
}