load static method
Implementation
static UserInfo? load(String tag) {
final String rawString = Preferences.getString(
'${ApConstants.packageName}'
'.user_info_$tag',
'',
);
if (rawString == '') {
return null;
} else {
return UserInfo.fromRawJson(rawString);
}
}