isOneAKind method

bool isOneAKind()

Checks if all character inside string are same. Example: 111111 -> true, wwwww -> true

Implementation

bool isOneAKind() => ValidatorUtils.isOneAKind(this);