equals method
Implementation
bool equals(dynamic compare) {
return this != null &&
this == compare &&
runtimeType == compare.runtimeType;
}
bool equals(dynamic compare) {
return this != null &&
this == compare &&
runtimeType == compare.runtimeType;
}