hashValue method
Implementation
int hashValue(T value, [MapperContainer? container]) {
try {
var context = MappingContext(
container: container,
args: () => value.runtimeType.args
.map((t) => t == UnresolvedType ? dynamic : t)
.toList(),
);
return hash(value, context);
} catch (e, stacktrace) {
Error.throwWithStackTrace(
MapperException.chain(MapperMethod.hash, '[$value]', e),
stacktrace,
);
}
}