hash method

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

The mapping method to calculate the hash of value.

Implementation

@override
int hash(T value, MappingContext context) {
  return Object.hashAll(_members.map((f) {
    return context.container.hash(f.get(value));
  }));
}