TypeDefinitionStatement constructor

const TypeDefinitionStatement(
  1. Token name,
  2. List<NamedTypeLiteral>? typeParameters,
  3. List<TypeVariantNode> variants
)

Implementation

const TypeDefinitionStatement(
  this.name,
  this.typeParameters,
  this.variants,
);