getFilter method

Filter getFilter(
  1. String eventName, [
  2. List args = const []
])

Return a filter for eventName, optionally filtering by additional constraints.

Only indexed event parameters may be filtered. If a parameter is null (or not provided) then any value in that field matches.

Implementation

Filter getFilter(String eventName, [List<dynamic> args = const []]) =>
    callMethod(getProperty(this, 'filters'), eventName, args);