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]),
  );
}