hasConnection property

bool get hasConnection

Se tem conexão ativa

Implementation

bool get hasConnection => _connection != null && _connection!.isActive;