getDocument method
- String docPath
Implementation
Future<File?> getDocument(String docPath) async {
final doc = await readDoc(docPath.split('/').last);
if (doc == null) throw Exception("no doc cached");
// return null;
// return Data!;
return doc;
}