TypeDefinitionStatement constructor
const
TypeDefinitionStatement(
- Token name,
- List<
NamedTypeLiteral> ? typeParameters, - List<
TypeVariantNode> variants
Implementation
const TypeDefinitionStatement(
this.name,
this.typeParameters,
this.variants,
);