hasActiveStt static method

bool hasActiveStt()

Check if there's an active STT model

Returns true if an STT model has been installed and set as active.

Implementation

static bool hasActiveStt() {
  final manager = FlutterGemmaPlugin.instance.modelManager;
  return manager.activeSttModel is SttModelSpec;
}