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