hasAnyClients property Null safety

bool hasAnyClients

Whether there are any active clients listening to text input.

Implementation

bool get hasAnyClients {
  assert(isRegistered);
  return _client != null && _client! > 0;
}