Location.fromJson constructor

Location.fromJson(
  1. Map json_
)

Implementation

Location.fromJson(core.Map json_)
    : this(
        latlng: json_.containsKey('latlng')
            ? LatLng.fromJson(
                json_['latlng'] as core.Map<core.String, core.dynamic>)
            : null,
        locationName: json_.containsKey('locationName')
            ? json_['locationName'] as core.String
            : null,
      );