dispose method

Future<void> dispose()

Disposes of the current USDZ viewer and releases associated resources.

Should be called when the viewer is no longer needed to prevent memory leaks.

Example:

await viewer.dispose();

Implementation

Future<void> dispose() {
  return FlutterViewerUsdzPlatform.instance.dispose();
}