hash method

int hash(
  1. T value,
  2. MappingContext context
)
override

The mapping method to calculate the hash of value.

Implementation

int hash(T value, MappingContext context) {
  throw MapperException.unsupportedMethod(MapperMethod.hash, type);
}