IOPersistentProperties constructor
Implementation
IOPersistentProperties(this.name, {String? documentDirPath}) {
final fileName = name.replaceAll(' ', '_');
documentDirPath ??= LocalFileSystem._userHomeDir();
_file = io.File(path.join(documentDirPath, fileName));
if (!_file.existsSync()) {
_file.createSync(recursive: true);
}
syncSettings();
}