from method

Map<String, dynamic>? from(
  1. String fid
)

Implementation

Map<String, dynamic>? from(String fid) {
  final dir = p.join(_root, historyDir, fid);
  final file = p.join(dir, 'createdInfo.json');
  final f = File(file);
  if (!f.existsSync()) {
    return null;
  }
  return json.decode(f.readAsStringSync());
}