hashValue method

int hashValue(
  1. DashboardResponseSearchModel value, [
  2. MapperContainer? container
])
inherited

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,
    );
  }
}