visitTypeVariantParameterNode method

  1. @override
void visitTypeVariantParameterNode(
  1. TypeVariantParameterNode node
)
override

Implementation

@override
void visitTypeVariantParameterNode(TypeVariantParameterNode node) {
  assert(_currentContext is TypeVariantNode);
  assert(_currentClass != null);

  node.type.accept(this);

  final type = resolver.annotations[node.type]!;
  _currentClass!.addField(type, node);
}