connectionChangeEvent property

Stream<bool>? connectionChangeEvent

Implementation

static Stream<bool>? get connectionChangeEvent {
  _connectionChangeEvent ??= _connectionChangeEventChannel
      .receiveBroadcastStream()
      .map<bool>((i) => i as bool);
  _updateConnectionStateChangeEvent();
  return _connectionChangeEvent;
}