LocationBounds.fromJson constructor

LocationBounds.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory LocationBounds.fromJson(Map<String, dynamic> json) => LocationBounds(
      northeast_lat: json['northeast_lat']?.toDouble() ?? 0.0,
      northeast_lng: json['northeast_lng']?.toDouble() ?? 0.0,
      southwest_lat: json['southwest_lat']?.toDouble() ?? 0.0,
      southwest_lng: json['southwest_lng']?.toDouble() ?? 0.0,
    );