operator == method
Determines whether the specified
The
Implementation
@override
bool operator ==(obj) {
if (identical(this, obj)) {
return true;
} else {
Mailbox? other = obj is Mailbox ? obj : null;
if (other == null) {
return false;
} else if (((Address == null) && (other.Address == null)) ||
((Address != null) && Address == other.Address)) {
return ((RoutingType == null) && (other.RoutingType == null)) ||
((RoutingType != null) && RoutingType == other.RoutingType);
} else {
return false;
}
}
}