carpBasePath property
The base path for storing all CARP related files on the form
<localApplicationPath>/carp
Implementation
Future<String> get carpBasePath async {
if (_carpBasePath == null) {
_carpBasePath = '${await localApplicationPath}/carp';
var directory = Directory(_carpBasePath!);
await directory.exists().then((exists) {
if (!exists) directory.createSync(recursive: true);
});
}
return _carpBasePath!;
}