isConnected property Null safety

bool isConnected

Implementation

bool get isConnected => _isConnected;