onDisconnect method Null safety

void onDisconnect(
  1. int reason
)

Get notified when the SDK gets disconnected from the server.

reason Thee reason why the SDK gets disconnected.

Implementation

void onDisconnect(int reason);