onDisconnect property

(dynamic Function()?) onDisconnect
final

Agora VideoUIKit takes care of leaving the channel and destroying the engine. But if you want to add any other functionality to the disconnect button, use this.

Implementation

final Function()? onDisconnect;