equals method

  1. @override
bool equals(
  1. Gender value,
  2. Gender other,
  3. MappingContext context
)
inherited

The mapping method to compare value and other for equality.

Implementation

@override
bool equals(value, other, MappingContext context) => value == other;