equals method

bool equals(
  1. T value,
  2. T other,
  3. MappingContext context
)

The mapping method to compare value and other for equality.

Implementation

bool equals(T value, T other, MappingContext context) {
  throw MapperException.unsupportedMethod(MapperMethod.equals, type);
}