hash method

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

The mapping method to calculate the hash of value.

Implementation

@override
int hash(T value, MappingContext context) => value.hashCode;