CharCounter.fromString constructor

CharCounter.fromString(
  1. String str
)

Creates a counter and adds parameter string.

Implementation

CharCounter.fromString(String str) {
  add(str);
}