contains method

bool contains(
  1. String char
)
inherited

Implementation

bool contains(String char) {
  assert(char.length == 1);
  if (_characters != null) {
    return _characters!.contains(char);
  }

  for (var cl in _classes!) {
    if (cl.characters.contains(char)) return true;
  }

  return false;
}