destroySharedInstance static method

Future<void> destroySharedInstance()

销毁一个 TRTCCloud 单例

Implementation

static Future<void> destroySharedInstance() async {
  await _cloudChannel.invokeMethod('destroySharedInstance');
  _trtcCloud = null;
}