toList method

List<String> toList()

Implementation

List<String> toList() {
  return [
    ..._arguments,
    ..._flags.map((e) => '-$e'),
    ..._options.entries.expand((e) => ['--${e.key}', e.value.toString()]),
    ..._properties.entries.map((e) => '-P${e.key}=${e.value}'),
  ];
}