getDocument method
- String path
Implementation
Future<File?> getDocument(String path) async {
final requestType = Helper.SimulatedRequestType.GET;
return _run(
itPrefersCache: false,
offline: () => local.getDocument(path),
online: () => remote.getDocument(path),
requestType: requestType,
).last;
}