getDefault method

Future<DBusValue> getDefault(
  1. String name
)

Reads the default value of the settings key with name. If this key is not set, then this value will be returned by get. Attempting to read an unknown key will throw a GSettingsUnknownKeyException. If the schema is not installed will throw a GSettingsSchemaNotInstalledException.

Implementation

Future<DBusValue> getDefault(String name) async {
  var table = await _load();
  var schemaEntry = _getSchemaEntry(table, name);
  return _getDefaultValue(schemaEntry);
}