Making.School.Asignment.app/lib/common/store/app_storage_key.dart

14 lines
536 B
Dart
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/// 本地存储信息
enum AppStorageKey {
token(value: 'TOKEN', label: "登录用户的token"),
xToken(value: 'XTOKEN', label: "登录用户的Xtoken刷新token信息"),
userMobile(value: 'USERMOBILE', label: "用户输入过的手机号码"),
userInfo(value: 'USERINFO', label: "登录用户的基本信息 及 token过期时间"),
userDetailInfo(value: 'USERDETAILINFO', label: "用户的详细信息");
final String label;
final String value;
const AppStorageKey({required this.value, required this.label});
}