EqualityBy<E, F> constructor

EqualityBy<E, F>(F getKey(E object), [ Equality<F> inner = const DefaultEquality() ])

Implementation

EqualityBy(F getKey(E object), [Equality<F> inner = const DefaultEquality()])
    : _getKey = getKey,
      _inner = inner;