GoogleGeocodingViewport.fromJson constructor

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

GoogleGeocodingViewport From Json factory

Implementation

factory GoogleGeocodingViewport.fromJson(Map<String, dynamic> json) =>
    GoogleGeocodingViewport(
      northeast: GoogleGeocodingLocation.fromJson(
        json['northeast'] as Map<String, dynamic>,
      ),
      southwest: GoogleGeocodingLocation.fromJson(
        json['southwest'] as Map<String, dynamic>,
      ),
    );