equalsTo method

  1. @override
bool equalsTo(
  1. FirestoreUser? other
)

Implementation

@override
bool equalsTo(FirestoreUser? other) {
  final currentForm = this.currentForm;

  return const DeepCollectionEquality().equals(
    currentForm is FormControlCollection<dynamic>
        ? currentForm.rawValue
        : currentForm.value,
    FirestoreUserForm.formElements(other).rawValue,
  );
}