destroy method Null safety

Future<void> destroy()

Destroy the Zego Effects SDK instance. This method is used to release resources related to the Zego Effects SDK, ensuring proper cleanup when the SDK is no longer needed.

Implementation

Future<void> destroy() async {
  return await _channel.invokeMethod('destroy');
}