matches method

bool matches(
  1. String actionT,
  2. Element element
)

Implementation

bool matches(String actionT, Element element) {
  final widget = element.widget;
  return (actionType == actionT && widget.runtimeType == this.appliesTo);
}