deepEquals function

bool deepEquals(
  1. Object? e1,
  2. Object? e2
)

Check for equality of multiple data types, including nested iterables.

Implementation

bool deepEquals(Object? e1, Object? e2) {
  return const DeepCollectionEquality().equals(e1, e2);
}