import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/user_entity.g.dart'; @JsonSerializable() class UserEntity { UserEntity(); String? account; String? avatar; String? expiration; String? expire; String? mobile; String? name; String? refreshToken; String? token; String? tokenType; String? userId; String? userType; String? workDescribe; factory UserEntity.fromJson(Map json) => $UserEntityFromJson(json); Map toJson() => $UserEntityToJson(this); }