using a split method in list<string> dart code example
Example: dart array split
var string = "Hello world!";
string.split(" "); // ['Hello', 'world!'];
var string = "Hello world!";
string.split(" "); // ['Hello', 'world!'];