dispose static method

Future<void> dispose()

Dispose of resources.

Call when completely done with the engine.

Implementation

static Future<void> dispose() async {
  await RagEngine.dispose();
  _engine = null;
  _instance = null;
}