addPartDirective method

void addPartDirective(
  1. String key,
  2. void listener(
    1. PartDirective node
    )
)

Implementation

void addPartDirective(
    String key, void Function(PartDirective node) listener) {
  _forPartDirective
      .add(_Subscription(listener, _getTimer(key), Zone.current));
}