onDisconnected property Null safety

DisconnectCallback? onDisconnected
@protected, read / write

Unsolicited disconnection callback

Implementation

@protected
DisconnectCallback? onDisconnected;