UserDefaults extension
Methods
-
getDefaults(
[String path = 'info.plist']) → Future< Map< String, AlfredUserConfiguration< ?>AlfredUserConfigurationConfig> > -
Returns a
Map
of user defaults from the workflow'sinfo.plist
file. -
getDefaultsSync(
[String path = 'info.plist']) → Map< String, AlfredUserConfiguration< ?AlfredUserConfigurationConfig> > -
Synchronously returns a
Map
of user defaults from the workflow'sinfo.plist
file. -
getUserDefaults(
{String prefsPath = 'prefs.plist', String infoPath = 'info.plist'}) → Future< Map< String, AlfredUserConfiguration< ?>AlfredUserConfigurationConfig> > -
Returns a
Map
of the user defaults from the workflow'sinfo.plist
merged withprefs.plist
file. -
getUserDefaultsSync(
{String prefsPath = 'prefs.plist', String infoPath = 'info.plist'}) → Map< String, AlfredUserConfiguration< ?AlfredUserConfigurationConfig> > -
Synchronously returns a
Map
of user defaults from the workflow'sinfo.plist
merged withprefs.plist
file. -
getUserPreferences(
[String path = 'prefs.plist']) → Future< Map< String, dynamic> ?> -
Returns a
Map
of user defaults from the workflow'sprefs.plist
file. -
getUserPreferencesSync(
[String path = 'prefs.plist']) → Map< String, dynamic> ? -
Synchronously returns a
Map
of user defaults from the workflow'sprefs.plist
file.