ClassDeclarationNode constructor

const ClassDeclarationNode({
  1. required String name,
  2. List<String> modifiers = const [],
  3. List<TypeParameterNode> typeParameters = const [],
  4. TypeNode? superclass,
  5. List<TypeNode> mixins = const [],
  6. List<TypeNode> interfaces = const [],
  7. List<DeclarationNode> members = const [],
})

Implementation

const new({
  required this.name,
  this.modifiers = const [],
  this.typeParameters = const [],
  this.superclass,
  this.mixins = const [],
  this.interfaces = const [],
  this.members = const [],
});