listEquals function

bool listEquals(
  1. List<Object?>? list1,
  2. List<Object?>? list2
)

Returns whether list1 and list2 have the same contents.

Implementation

bool listEquals(List<Object?>? list1, List<Object?>? list2) =>
    const ListEquality<Object?>().equals(list1, list2);