fromList static method

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

Implementation

@visibleForTesting
static LatLngQuad? fromList(dynamic json) {
  if (json == null) {
    return null;
  }
  return LatLngQuad(
    topLeft: LatLng._fromJson(json[0]),
    topRight: LatLng._fromJson(json[1]),
    bottomRight: LatLng._fromJson(json[2]),
    bottomLeft: LatLng._fromJson(json[3]),
  );
}