ExtensionTypeDeclarationNode constructor

const ExtensionTypeDeclarationNode({
  1. required String name,
  2. String? constructorName,
  3. bool isConst = false,
  4. List<TypeParameterNode> typeParameters = const [],
  5. required TypeNode representationType,
  6. required String representationName,
  7. List<TypeNode> interfaces = const [],
  8. List<DeclarationNode> members = const [],
})

Implementation

const new({
  required this.name,
  this.constructorName,
  this.isConst = false,
  this.typeParameters = const [],
  required this.representationType,
  required this.representationName,
  this.interfaces = const [],
  this.members = const [],
});