firstWord method
Return firt word from string
Implementation
String? firstWord() {
if (this != null) {
return this!.split(' ').first;
} else
return this;
}
Return firt word from string
String? firstWord() {
if (this != null) {
return this!.split(' ').first;
} else
return this;
}