WordFrequencyCounter constructor

WordFrequencyCounter(
  1. String? word
)

word is the word to count ignorePunctuation facilitates checking words that include symbols.

Implementation

WordFrequencyCounter(String? word) : _word = word;