LatLongPoint.fromJson constructor

LatLongPoint.fromJson(
  1. Map json_
)

Implementation

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