> ## Documentation Index
> Fetch the complete documentation index at: https://jdev-e8db0569.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# dispose()

> Release SDK resources and reset state.

Releases SDK resources and resets internal state. After calling `dispose()`, you must call [`initialize()`](/api-reference/initialize) again before using [`startVerification()`](/api-reference/start-verification).

## Signature

```dart theme={null}
// On SeonOrchestration
static Future<void> dispose()
```

## Parameters

None.

## Returns

`Future<void>` — Completes when cleanup is finished.

## Errors

Throws `SeonException` on failure.

## Example

```dart theme={null}
import 'package:seon_orchestration_flutter/seon_orchestration_flutter.dart';

// Clean up when verification is no longer needed
await SeonOrchestration.dispose();
```

## When to Use

* When the user navigates away from the verification feature
* On user logout
* When you want to explicitly release native SDK resources

## Platform Behavior

<Tabs>
  <Tab title="iOS">
    * Resets the initialized state on the Swift singleton
    * Clears any pending verification result
    * Removes the SDK delegate reference
    * Dismisses any presented navigation controller
  </Tab>

  <Tab title="Android">
    * Resets the initialized state on the Kotlin plugin
    * Clears any pending verification result reference
  </Tab>
</Tabs>
