arraysEqual method

dynamic arraysEqual(
  1. Map<int, dynamic> a,
  2. dynamic b
)

Implementation

arraysEqual(Map<int, dynamic> a, b) {
  if (a.keys.length != b.length) return false;

  for (var i = 0, l = a.keys.length; i < l; i++) {
    if (a[i] != b[i]) return false;
  }

  return true;
}