get static method

Future<File> get(
  1. String fileName
)

Return the File object of the specified file. Pass in the name of the file.

Implementation

static Future<File> get(String fileName) async {
  final path = await localPath;
  return File('$path${Platform.pathSeparator}$fileName');
}