getModelsDirectory static method

Future<String> getModelsDirectory()

Get the directory where models are stored

Implementation

static Future<String> getModelsDirectory() async {
  try {
    final result = await _channel.invokeMethod('getModelsDirectory');
    return result as String;
  } on PlatformException catch (e) {
    throw Exception('Failed to get models directory: ${e.message}');
  }
}