acceptsData method

bool acceptsData(
  1. Object? data
)

Whether data is of the handler's type.

Implementation

bool acceptsData(Object? data) => hasHandler && selector.accepts(data);