isConnected property
bool
get
isConnected
The current value of onConnected, synchronously. Always false once close has been called
or the app deleted (from the moment app.delete() is called, before the close it starts has
run), whatever it was before.
Implementation
bool get isConnected =>
!_closed && !_appDeleted && _infoValue('connected') == true;