disconnect static method

dynamic disconnect(
  1. VChatCloudResult result
)

Implementation

static disconnect(VChatCloudResult result) async {
  try {
    _channel.dispose(result);
  } catch (e) {
    if (e is Error) {
      debugPrintStack(label: e.toString(), stackTrace: e.stackTrace);
    }
  } finally {
    _isInitialized = false;
  }
}