equalsTo method
Implementation
@override
bool equalsTo(GenericItem<T>? other) {
final currentForm = this.currentForm;
return const DeepCollectionEquality().equals(
currentForm is FormControlCollection<dynamic>
? currentForm.rawValue
: currentForm.value,
GenericItemForm.formElements(other).rawValue,
);
}