equals method

  1. @visibleForTesting
bool equals(
  1. SmsMessage other
)

Do not call this method. This method is visible only for testing.

Implementation

@visibleForTesting
bool equals(SmsMessage other) {
  return this.id == other.id &&
      this.address == other.address &&
      this.body == other.body &&
      this.date == other.date &&
      this.dateSent == other.dateSent &&
      this.read == other.read &&
      this.seen == other.seen &&
      this.subject == other.subject &&
      this.subscriptionId == other.subscriptionId &&
      this.threadId == other.threadId &&
      this.type == other.type &&
      this.status == other.status;
}