shouldAdd method
Override this method to define the conditions under which a data item should be added.
Implementation
bool shouldAdd(TData data) => true;
Override this method to define the conditions under which a data item should be added.
bool shouldAdd(TData data) => true;