equivalentTo method

bool equivalentTo(
  1. Data other
)

Is this data equivalent to other?

This is a custom 'soft' equal (==) operator used to compare two data objects. Used in triggering when some data is collected. Override in subclasses to provide custom equivalence checking.

Implementation

bool equivalentTo(Data other) => false;