deepEquals function

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

Returns true if e1 and e2 are the same.

Nested objects such as Map and List can also be compared.

e1e2を比較し同じな場合にtrueを返します。

MapListなどのネストされたオブジェクトも比較可能です。

Implementation

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