TestCollectiveElementType<E, C extends Collective<E> > typedef
TestCollectiveElementType<E, C extends Collective<E> > =
bool Function(E? element, C base, {Function? action, dynamic user})
Function signature for validating elements in a Collective Parameters:
- element: The element being validated
- base: The Collective containing the element
- action: The modifying action being performed (optional)
- user: Optional user context
Implementation
typedef TestCollectiveElementType<E,C extends Collective<E>> = bool Function(E? element, C base, {Function? action, dynamic user});