ExtensionDecl constructor
ExtensionDecl(
- ExtensionTargetKind targetKind,
- IdentifierExpr id,
- BlockStmt definition, {
- bool isTopLevel = false,
- HTSource? source,
- int line = 0,
- int column = 0,
- int offset = 0,
- 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,
);