$LatLng.fromJson constructor

$LatLng.fromJson(
  1. Map json_
)

Implementation

$LatLng.fromJson(core.Map json_)
    : this(
        latitude: json_.containsKey('latitude')
            ? (json_['latitude'] as core.num).toDouble()
            : null,
        longitude: json_.containsKey('longitude')
            ? (json_['longitude'] as core.num).toDouble()
            : null,
      );