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