UserDefaults extension
Methods
-
getDefaults(
[String path = 'info.plist']) → Future< Map< String, AlfredUserConfiguration< ?>dynamic, AlfredUserConfigurationConfig> > -
Available on AlfredWorkflow, provided by the UserDefaults extension
Returns aMapof user defaults from the workflow'sinfo.plistfile. -
getDefaultsSync(
[String path = 'info.plist']) → Map< String, AlfredUserConfiguration< ?dynamic, AlfredUserConfigurationConfig> > -
Available on AlfredWorkflow, provided by the UserDefaults extension
Synchronously returns aMapof user defaults from the workflow'sinfo.plistfile. -
getUserDefaults(
{String prefsPath = 'prefs.plist', String infoPath = 'info.plist'}) → Future< Map< String, AlfredUserConfiguration< ?>dynamic, AlfredUserConfigurationConfig> > -
Available on AlfredWorkflow, provided by the UserDefaults extension
Returns aMapof the user defaults from the workflow'sinfo.plistmerged withprefs.plistfile. -
getUserDefaultsSync(
{String prefsPath = 'prefs.plist', String infoPath = 'info.plist'}) → Map< String, AlfredUserConfiguration< ?dynamic, AlfredUserConfigurationConfig> > -
Available on AlfredWorkflow, provided by the UserDefaults extension
Synchronously returns aMapof user defaults from the workflow'sinfo.plistmerged withprefs.plistfile. -
getUserPreferences(
[String path = 'prefs.plist']) → Future< Map< String, dynamic> ?> -
Available on AlfredWorkflow, provided by the UserDefaults extension
Returns aMapof user defaults from the workflow'sprefs.plistfile. -
getUserPreferencesSync(
[String path = 'prefs.plist']) → Map< String, dynamic> ? -
Available on AlfredWorkflow, provided by the UserDefaults extension
Synchronously returns aMapof user defaults from the workflow'sprefs.plistfile.