private method

  1. @override
BroadcastChannel private(
  1. String name
)
override

Returns a private BroadcastChannel for name.

The driver will prefix the name (e.g. 'private-') as required by the server and perform the appropriate auth handshake.

Implementation

@override
BroadcastChannel private(String name) {
  _subscribedChannels.add('private-$name');
  return _FakeBroadcastChannel('private-$name', this);
}