onDisconnected method Null safety

  1. @override
Future<void>? onDisconnected()
override

Implementation

@override
Future<void>? onDisconnected() async {}