contains method

  1. @override
bool contains(
  1. CharacterClass other
)
override

contains another class

Implementation

@override
bool contains(CharacterClass other) {
  return other is LowerLetters ||
      other is UpperLetters ||
      other is AllLetters ||
      other is UrlCharacters;
}