syncSettings method
void
syncSettings()
Re-read settings from the backing store.
May be a no-op on some platforms.
Implementation
void syncSettings() {
try {
String contents = _file.readAsStringSync();
if (contents.isEmpty) contents = '{}';
_map = (jsonDecode(contents) as Map).cast<String, Object>();
} catch (_) {
_map = {};
}
}