status property Null safety

Stream<AuthenticationStatus> status

An updated stream with the user's connection status.

Implementation

Stream<AuthenticationStatus> get status async*
{
  _broadcastStream ??= _stateStream.stream.asBroadcastStream();
  yield *_broadcastStream!;
}