isEqual function
dynamic
isEqual(
- dynamic a,
- dynamic b
Implementation
isEqual(dynamic a, dynamic b) {
if(a is Map && b is Map){
return const MapEquality().equals(a, b);
}else if(a is List && b is List){
return const ListEquality().equals(a, b);
} else {
return identical(a, b);
}
}