deepEquals static method

bool deepEquals(
  1. Object? a,
  2. Object? b
)

Deep equality for JSON-like maps/lists, with map keys compared as strings.

Implementation

static bool deepEquals(Object? a, Object? b) {
  return _deepEquals(a, b, <_IdentityPair>{}, 0);
}