transport property

FakeTransport? get transport

The transport currently connected, if any. Exposed so a test can drop the socket with transport!.closeByPeer() and watch the hub come back.

Implementation

FakeTransport? get transport => _transport;