detach method

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

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

Implementation

void detach(void Function(String query) callback) {
  if (_filterCallback == callback) _filterCallback = null;
}