onUpdate property
A callback to notify client about new connection state. returns ConnectionState enum & an optional error description.
Implementation
final void Function(ConnectionStateCallback)? onUpdate;
A callback to notify client about new connection state. returns ConnectionState enum & an optional error description.
final void Function(ConnectionStateCallback)? onUpdate;