Returns the resource path for within the applications documents directory.
String getBasePath({required String appDirDocPath}) { return path.join(appDirDocPath, name); }