DartParameter constructor
DartParameter({
- required String name,
- required DartType type,
- DartElementRef<
DartMethod> ? parentRef, - List<
DartMetadata> metadata = const [], - bool hasDefaultValue = false,
- bool isConst = false,
- bool isFinal = false,
- ParameterKind kind = ParameterKind.REGULAR,
Implementation
DartParameter({
required String name,
required this.type,
this.parentRef,
this.metadata = const [],
this.hasDefaultValue = false,
this.isConst = false,
this.isFinal = false,
this.kind = ParameterKind.REGULAR,
}) : super(name: name, location: ElementLocation.unknown());