ComplexEventHandler.forAst constructor

ComplexEventHandler.forAst(
  1. ASTWithSource handler,
  2. SourceSpan? sourceSpan, {
  3. ProviderSource? directiveInstance,
})

Implementation

ComplexEventHandler.forAst(ast.ASTWithSource handler, SourceSpan? sourceSpan,
    {ProviderSource? directiveInstance})
    : this._([
        SimpleEventHandler(
          handler,
          sourceSpan,
          directiveInstance: directiveInstance,
        )
      ]);