LatLongRect.fromJson constructor

LatLongRect.fromJson(
  1. Map json_
)

Implementation

LatLongRect.fromJson(core.Map json_)
    : this(
        maxLatLng: json_.containsKey('maxLatLng')
            ? LatLng.fromJson(
                json_['maxLatLng'] as core.Map<core.String, core.dynamic>)
            : null,
        minLatLng: json_.containsKey('minLatLng')
            ? LatLng.fromJson(
                json_['minLatLng'] as core.Map<core.String, core.dynamic>)
            : null,
      );