getDownloadedModels static method
Get list of all downloaded models
Implementation
static Future<List<String>> getDownloadedModels() async {
try {
final result = await _channel.invokeMethod('getDownloadedModels');
return (result as List<dynamic>).cast<String>();
} on PlatformException catch (e) {
throw Exception('Failed to get downloaded models: ${e.message}');
}
}