get
Retrieves the settings value for a given key.
Return
The value associated with key if the setting is available; otherwise null
.
Parameters
key
The key (or name) of the setting.
Retrieves the settings value for a given key and allows a default value to be provided if the setting is not present.
Return
The value associated with key if the setting is available; otherwise the computed default value.
Parameters
key
The key (or name) of the setting.
default
A trailing lambda function which returns a default value that is used in case no setting associated with key was found.