getModelPath method

Future<String> getModelPath(
  1. String fileName
)

Returns the full path for a model file name in the models directory.

Implementation

Future<String> getModelPath(String fileName) async {
  final dir = await getModelsDirPath();
  return p.join(dir, fileName);
}