deleteModel static method
Delete a downloaded model to free up space
Implementation
static Future<void> deleteModel(String modelId) async {
try {
await _channel.invokeMethod('deleteModel', {
'modelId': modelId,
});
} on PlatformException catch (e) {
throw Exception('Failed to delete model: ${e.message}');
}
}