toArguments method
Implementation
String toArguments() {
final pos = where((p) => p.isPositional)
.map((p) => p.displayName)
.map((name) => name);
final named = where((p) => p.isNamed)
.map((p) => p.displayName)
.map((name) => '$name: $name');
return [
...pos,
...named,
].join(', ');
}