EqualityBy<E, F> constructor Null safety

EqualityBy<E, F>(
  1. F comparisonKey(
    1. E
    ),
  2. [Equality<F> inner = const DefaultEquality<Never>()]
)

Implementation

EqualityBy(F Function(E) comparisonKey,
    [Equality<F> inner = const DefaultEquality<Never>()])
    : _comparisonKey = comparisonKey,
      _inner = inner;