destroy method

FutureOr<void> destroy()
override

@detail api @author shenpengliang @brief Leave and destroy the room instance created by calling createRTCRoom:{@link #ByteRTCEngine#createRTCRoom}.

Implementation

FutureOr<void> destroy() async {
  return await nativeCall('destroy', []);
}