shouldAdd method

bool shouldAdd(
  1. TData data
)

Override this method to define the conditions under which a data item should be added.

Implementation

bool shouldAdd(TData data) => true;