onDisconnect property Null safety

(dynamic Function?(C)?) onDisconnect
final

Implementation

final Function(C)? onDisconnect;