deepHashCode function
Implementation
int deepHashCode(Object? o) {
if (o == null) return 0;
if (o is List) {
return deepHashCodeList(o);
} else if (o is Map) {
return deepHashCodeMap(o);
} else {
return o.hashCode;
}
}
int deepHashCode(Object? o) {
if (o == null) return 0;
if (o is List) {
return deepHashCodeList(o);
} else if (o is Map) {
return deepHashCodeMap(o);
} else {
return o.hashCode;
}
}