termCount property

int get termCount

Returns the number of individual terms in the String.

Equivalent to splitAtWhitespace().length

Implementation

int get termCount => splitAtWhitespace().length;