isEqual method
Implementation
bool isEqual(final Map map) {
if (!map.keys.toSet().containsAll(keys.toSet()) ||
!keys.toSet().containsAll(map.keys.toSet())) return false;
for (final key in keys) {
if (map[key] != this[key]) {
return false;
}
}
return true;
}