You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
940 B
45 lines
940 B
1 month ago
|
/// mid : "1379254113602109440"
|
||
|
/// nickname : "哈哈"
|
||
|
/// avatar : "https://pos.upload.lotus-wallet.com/admin/2022/11/d501d2cd-ffc0-49f2-967c-2e463462f500.jpeg"
|
||
|
/// phone : "13052919193"
|
||
|
/// isFollow : null
|
||
|
/// createTime : null
|
||
|
|
||
|
class ImUser {
|
||
|
ImUser({
|
||
|
this.mid,
|
||
|
this.nickname,
|
||
|
this.isDelete,
|
||
|
this.isTop,
|
||
|
this.avatar,
|
||
|
this.phone, });
|
||
|
|
||
|
ImUser.fromJson(dynamic json) {
|
||
|
mid = json['mid'];
|
||
|
nickname = json['nickname'];
|
||
|
isDelete = json['isDelete'];
|
||
|
isTop = json['isTop'];
|
||
|
avatar = json['avatar'];
|
||
|
phone = json['phone'];
|
||
|
}
|
||
|
|
||
|
String? mid;
|
||
|
String? nickname;
|
||
|
num? isDelete ;
|
||
|
num? isTop;
|
||
|
String? avatar;
|
||
|
String? phone;
|
||
|
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final map = <String, dynamic>{};
|
||
|
map['mid'] = mid;
|
||
|
map['nickname'] = nickname;
|
||
|
map['isDelete'] = isDelete;
|
||
|
map['isTop'] = isTop;
|
||
|
map['avatar'] = avatar;
|
||
|
map['phone'] = phone;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|