get method
Reads the value of the settings key with name
.
Attempting to read an unknown key will throw a GSettingsUnknownKeyException.
If the schema is not installed will throw a GSettingsSchemaNotInstalledException.
Implementation
Future<DBusValue> get(String name) async {
var table = await _load();
var schemaEntry = _getSchemaEntry(table, name);
var path = _getPath(table);
var value =
await _backend.get(path + name, schemaEntry.defaultValue.signature);
return value ?? _getDefaultValue(schemaEntry);
}