equalsCoords method

  1. @override
bool equalsCoords(
  1. covariant FeatureObject other
)
override

True if this and other contain exactly same coordinate values (or both are empty) in the same order and with the same coordinate type.

Implementation

@override
bool equalsCoords(FeatureObject other) =>
    testEqualsCoords<FeatureCollection<E>>(
      this,
      other,
      (collection1, collection2) => _testFeatureCollections<E>(
        collection1,
        collection2,
        (feature1, feature2) => feature1.equalsCoords(feature2),
      ),
    );