termCount property

int termCount

Returns the number of individual terms in the String.

Equivalent to splitAtWhitespace().length

Implementation

int get termCount => splitAtWhitespace().length;