operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Overrides the equality operator.

Implementation

@override
bool operator ==(Object other) {
  if (identical(this, other)) return true;
  if (other.runtimeType != runtimeType) return false;
  return other is SignUpData &&
      other.name == name &&
      other.email == email &&
      other.password == password &&
      other.confirmPassword == confirmPassword;
}