positionalParametersNames property

List<String> get positionalParametersNames

The names of the positional parameters (normalParameters + optionalParameters).

Implementation

List<String> get positionalParametersNames =>
    _positionalParametersNames ??= UnmodifiableListView<String>([
      ...normalParameters.map((p) => p.name),
      ...optionalParameters.map((p) => p.name),
    ]);