equals static method
Returns true if the two arrays are identical, both null, or pointwise equal (as compared using Coordinate#equals) @see Coordinate#equals(Object)
Implementation
static bool equals(List<Coordinate>? coord1, List<Coordinate>? coord2) {
if (coord1 == coord2) return true;
if (coord1 == null || coord2 == null) return false;
if (coord1.length != coord2.length) return false;
for (int i = 0; i < coord1.length; i++) {
if (coord1[i] != coord2[i]) return false;
}
return true;
}