IndexedDeclaration constructor

const IndexedDeclaration({
  1. required String name,
  2. required DeclarationKind kind,
  3. String? type,
  4. List<IndexedParameter> parameters = const [],
  5. List<IndexedConstructor> constructors = const [],
  6. List<IndexedMember> members = const [],
  7. List<String> annotations = const [],
  8. bool isAsync = false,
  9. int offset = 0,
})

Creates the index of the declaration name.

Implementation

const IndexedDeclaration({
  required this.name,
  required this.kind,
  this.type,
  this.parameters = const [],
  this.constructors = const [],
  this.members = const [],
  this.annotations = const [],
  this.isAsync = false,
  this.offset = 0,
});