hasConnection property
bool
get
hasConnection
Se tem conexão ativa
Implementation
bool get hasConnection => _connection != null && _connection!.isActive;
Se tem conexão ativa
bool get hasConnection => _connection != null && _connection!.isActive;