stringToList static method

List<String> stringToList(
  1. String toParse
)

stringToList parsing toParse string to arguments list

For example:

Argenius.stringToList('dart run hello --world Name')

It returns:

['dart', 'run', 'hello', '--world', 'Name']

Implementation

static List<String> stringToList(String toParse) {
  return toParse.split(' ');
}