countWords property
int
get
countWords
Returns a string abbreviation.
Implementation
int get countWords {
if (validate().isEmptyOrNull) return 0;
return this!.split(RegExp('\\s+')).length;
}
Returns a string abbreviation.
int get countWords {
if (validate().isEmptyOrNull) return 0;
return this!.split(RegExp('\\s+')).length;
}