fromList static method
Implementation
@visibleForTesting
static LatLngBounds? fromList(dynamic json) {
if (json == null) {
return null;
}
return LatLngBounds(
southwest: LatLng._fromJson(json[0]),
northeast: LatLng._fromJson(json[1]),
);
}