IndexedDeclaration constructor
const
IndexedDeclaration({
- required String name,
- required DeclarationKind kind,
- String? type,
- List<
IndexedParameter> parameters = const [], - List<
IndexedConstructor> constructors = const [], - List<
IndexedMember> members = const [], - List<
String> annotations = const [], - bool isAsync = false,
- 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,
});