getActiveSuperRunDataSubDirectory method

Future<String> getActiveSuperRunDataSubDirectory({
  1. required String category,
})

Implementation

Future<String> getActiveSuperRunDataSubDirectory({required String category}) async {
  final superRunId = GetIt.I.get<WorkerSuperRunStore>().currSuperRunController.superRunId;
  final ans = '${await getBaseDataDirectory()}/$superRunId/$category/';
  Directory(ans).createSync(recursive: true);
  return ans;
}