fromList static method

  1. @visibleForTesting
LatLngBounds? fromList(
  1. dynamic json
)

Implementation

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