getFile method

WebFile? getFile(
  1. String path
)

Implementation

WebFile? getFile(String path) {
  var record = _getRecord(path);
  if (record != null) {
    try {
      WebFile webFile = WebFile.fromJson(record.value);
      return webFile;
    } catch (e) {
      Logger.error(e, "FileWebService", "getFile");
      return null;
    }
  }
  return null;
}