hashCode property

  1. @override
int get hashCode
override
Serves as a hash function for a particular type.

Implementation

@override
int get hashCode {
  int hashCode;

  if (FolderName != null) {
    hashCode = FolderName.hashCode;

    if ((Mailbox != null) && Mailbox!.IsValid) {
      hashCode = hashCode ^ Mailbox.hashCode;
    }
  } else {
    hashCode = super.hashCode;
  }

  return hashCode;
}