fromMap static method

LatLng fromMap(
  1. JsonMap map
)

Creates a new instance of this object from a JSON like map.

The map parameter is a JsonMap that contains the properties of this object.

Implementation

static LatLng fromMap(JsonMap map) =>
    LatLng(map["latitude"] as double, map["longitude"] as double);