positionalArguments property

List get positionalArguments

The positional arguments, derived from normalParameters and optionalParameters. Used by invoke.

Implementation

List<dynamic> get positionalArguments {
  var optionalParameters = this.optionalParameters;

  var args = optionalParameters == null || optionalParameters.isEmpty
      ? normalParameters
      : [
          ...normalParameters,
          ...optionalParameters,
        ];

  return args;
}