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.
57 lines
1.3 KiB
57 lines
1.3 KiB
3 years ago
|
/// mid : "1484477944838488064"
|
||
|
/// nickname : "回乡_888888"
|
||
|
/// avatar : ""
|
||
|
/// phone : "15447898756"
|
||
|
/// isFollow : null
|
||
|
/// createTime : "2022-01-21 18:48:17"
|
||
|
|
||
|
class InvitationList {
|
||
|
InvitationList({
|
||
|
String mid,
|
||
|
String nickname,
|
||
|
String avatar,
|
||
|
String phone,
|
||
|
dynamic isFollow,
|
||
|
String createTime,}){
|
||
|
_mid = mid;
|
||
|
_nickname = nickname;
|
||
|
_avatar = avatar;
|
||
|
_phone = phone;
|
||
|
_isFollow = isFollow;
|
||
|
_createTime = createTime;
|
||
|
}
|
||
|
|
||
|
InvitationList.fromJson(dynamic json) {
|
||
|
_mid = json['mid'];
|
||
|
_nickname = json['nickname'];
|
||
|
_avatar = json['avatar'];
|
||
|
_phone = json['phone'];
|
||
|
_isFollow = json['isFollow'];
|
||
|
_createTime = json['createTime'];
|
||
|
}
|
||
|
String _mid;
|
||
|
String _nickname;
|
||
|
String _avatar;
|
||
|
String _phone;
|
||
|
dynamic _isFollow;
|
||
|
String _createTime;
|
||
|
|
||
|
String get mid => _mid;
|
||
|
String get nickname => _nickname;
|
||
|
String get avatar => _avatar;
|
||
|
String get phone => _phone;
|
||
|
dynamic get isFollow => _isFollow;
|
||
|
String get createTime => _createTime;
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final map = <String, dynamic>{};
|
||
|
map['mid'] = _mid;
|
||
|
map['nickname'] = _nickname;
|
||
|
map['avatar'] = _avatar;
|
||
|
map['phone'] = _phone;
|
||
|
map['isFollow'] = _isFollow;
|
||
|
map['createTime'] = _createTime;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|