getModelFilePath static method

Future<String> getModelFilePath(
  1. String filename
)

Gets the full file path for a model file with Android path correction

Implementation

static Future<String> getModelFilePath(String filename) async {
  final directory = await getApplicationDocumentsDirectory();
  return getCorrectedPath(directory.path, filename);
}