fromList static method

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

Implementation

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