ListEquality<E> constructor Null safety

const ListEquality<E>(
  1. [Equality<E> elementEquality = const DefaultEquality<Never>()]
)

Implementation

const ListEquality(
    [Equality<E> elementEquality = const DefaultEquality<Never>()])
    : _elementEquality = elementEquality;