TypeDefinition constructor
const
TypeDefinition(
- Token keyword,
- Token name,
- Token? leftParenthesis,
- SyntacticEntityList<
IdentifiedTypeIdentifier> ? parameters, - Token? rightParenthesis,
- Token equals,
- SyntacticEntityList<
TypeVariantNode> variants,
Implementation
const TypeDefinition(
this.keyword,
this.name,
this.leftParenthesis,
this.parameters,
this.rightParenthesis,
this.equals,
this.variants,
);