ExtensionDecl constructor

ExtensionDecl(
  1. ExtensionTargetKind targetKind,
  2. IdentifierExpr id,
  3. BlockStmt definition, {
  4. bool isTopLevel = false,
  5. HTSource? source,
  6. int line = 0,
  7. int column = 0,
  8. int offset = 0,
  9. int length = 0,
})

Implementation

ExtensionDecl(
  this.targetKind,
  this.id,
  this.definition, {
  this.isTopLevel = false,
  super.source,
  super.line = 0,
  super.column = 0,
  super.offset = 0,
  super.length = 0,
}) : super(
        InternalIdentifier.extensionDeclaration,
        isBlock: true,
      );