onStatusChange property

Stream<AwsConnectionStatus> onStatusChange

Emits an AwsConnectionStatus every 5 seconds. When all listeners are removed from onStatusChange, the internal the timer is canceled and the stream does not emit events.

Implementation

Stream<AwsConnectionStatus> get onStatusChange => _statusController.stream;