fromJsonMap static method

LatLng? fromJsonMap(
  1. dynamic json
)

Implementation

static LatLng? fromJsonMap(dynamic json) {
  if (json == null) return null;
  return LatLng(json["latitude"]??0, json["longitude"]??0);
}