unloadSTTModel static method

Future<void> unloadSTTModel()

Unload the currently loaded STT model Matches Swift: RunAnywhere.unloadSTTModel()

Implementation

static Future<void> unloadSTTModel() async {
  if (!_isInitialized) {
    throw SDKError.notInitialized();
  }

  DartBridge.stt.unload();
}