equals method

  1. @override
bool equals(
  1. dynamic other
)
override

Implementation

@override
bool equals(other) =>
    other is EmailElement &&
    super.equals(other) &&
    other.emailAddress == emailAddress;