getDocumentFilePath static method

Future<String> getDocumentFilePath(
  1. String fileName
)

Generates a full file path inside the application documents directory.

Implementation

static Future<String> getDocumentFilePath(String fileName) async {
  final docs = await documentsPath;
  return join(docs, fileName);
}