MapEquality<K, V> constructor Null safety

const MapEquality<K, V>(
  1. {Equality<K> keys = const DefaultEquality<Never>(),
  2. Equality<V> values = const DefaultEquality<Never>()}
)

Implementation

const MapEquality(
    {Equality<K> keys = const DefaultEquality<Never>(),
    Equality<V> values = const DefaultEquality<Never>()})
    : _keyEquality = keys,
      _valueEquality = values;