initial preferences.
Validates a set of preferences.
The preferences to validate.
Gets a preference value.
The preference to get. This name may be hierarchical:
"foo.bar"
would get the value of "bar"
in "foo"
.
The value of the preference. If the preference does not exist, the
value is undefined
.
Sets a preference value. This method fails hard if the value added to the preferences object is invalid somehow, but it fails after modifying the preferences. This method is not meant to validate user input.
The preference to get. This name may be hierarchical:
"foo.bar"
would get the value of "bar"
in "foo"
.
The value to set the preference to.
Generated using TypeDoc
A model for preferences. The preferences stored in this object must be serializable as JSON. The class itself does not enforce this, so callers must be careful.