$UserEntityToJson function

Map<String, dynamic> $UserEntityToJson(
  1. UserEntity entity
)

Implementation

Map<String, dynamic> $UserEntityToJson(UserEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['flowingCount'] = entity.flowingCount;
	data['flowerCount'] = entity.flowerCount;
	data['isAgendHost'] = entity.isAgendHost;
	data['country'] = entity.country;
	data['rongToken'] = entity.rongToken;
	data['gender'] = entity.gender;
	data['headImage'] = entity.headImage;
	data['myFriends'] = entity.myFriends;
	data['invUrl'] = entity.invUrl;
	data['token'] = entity.token;
	data['isHost'] = entity.isHost;
	data['money'] = entity.money;
	data['newUser'] = entity.newUser;
	data['msgNum'] = entity.msgNum;
	data['name'] = entity.name;
	data['disturb'] = entity.disturb;
	data['id'] = entity.id;
	data['userType'] = entity.userType;
	data['invCode'] = entity.invCode;
	data['applyStatus'] = entity.applyStatus;
	data['age'] = entity.age;
	data['email'] = entity.email;
	data['desc'] = entity.desc;
	data['paidUser'] = entity.paidUser;
	data['isVip'] = entity.isVip;
	data['sendCoins'] = entity.sendCoins;
	data['rtmToken'] = entity.rtmToken;
	data['signature'] = entity.signature;
	data['pic'] =  entity.pic?.map((v) => v.toJson()).toList();
	data['online'] = entity.online;
	data['shareUrl'] = entity.shareUrl;
	data['label'] =  entity.label?.map((v) => v.toJson()).toList();
	data['localData'] = entity.localData;
	data['likes'] =  entity.likes;
	data['rechargeCount'] = entity.rechargeCount;
	return data;
}