Dart Count Words en chaîne

return str.split(' ').length;
Glamorous Gharial