destroy method

FutureOr<void> destroy()
override

@detail api @brief Leaves and destroy the RTS room instance created by calling createRTSRoom:{@link #ByteRTCEngine#createRTSRoom}.

Implementation

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