attach method

void attach(
  1. void callback(
    1. String query
    )
)

Internal: called by the list's state. Not for app code.

Implementation

void attach(void Function(String query) callback) {
  _filterCallback = callback;
}