onDisconnected property Null safety

DisconnectCallback? onDisconnected
read / write, override

Unsolicited disconnection callback.

Implementation

@override
DisconnectCallback? onDisconnected;