fromJson static method

LatLng? fromJson(
  1. dynamic json
)

Implementation

static LatLng? fromJson(dynamic json) {
  if (json == null) return null;
  return LatLng(json[0]??0, json[1]??0);
}