getUserPreferences method
Returns a Map
of user defaults from the workflow's prefs.plist
file.
Implementation
Future<Map<String, dynamic>?> getUserPreferences([
String path = 'prefs.plist',
]) async {
try {
return _mapUserDefaults(await PlistParser().parseFile(path));
} on NotFoundException {
return null;
}
}