/// id : 0 /// giftCode : "" /// giftPhoto : "" /// giftSourceUrl : "" /// giftCandy : 0.0 /// giftIntegral : 0.0 /// special : "" /// type : "" /// giftTab : "" /// standardId : 0 /// explanationGift : false /// account : "" /// userId : 0 /// giftName : "" /// expiredTime : 0 class SocialChatGiftRes { SocialChatGiftRes({ String? id, String? giftCode, String? giftPhoto, String? giftSourceUrl, num? giftCandy, num? activityId, num? giftIntegral, String? special, String? type, String? giftTab, String? standardId, String? jumpUrl, String? bannerUrl, bool? explanationGift, String? account, String? userId, String? giftName, String? quantity, num? expiredTime,}){ _id = id; _giftCode = giftCode; _giftPhoto = giftPhoto; _giftSourceUrl = giftSourceUrl; _giftCandy = giftCandy; _activityId = activityId; _giftIntegral = giftIntegral; _special = special; _type = type; _giftTab = giftTab; _standardId = standardId; _jumpUrl = jumpUrl; _bannerUrl = bannerUrl; _explanationGift = explanationGift; _account = account; _userId = userId; _giftName = giftName; _quantity = quantity; _expiredTime = expiredTime; } SocialChatGiftRes.fromJson(dynamic json) { _id = json['id']; _giftCode = json['giftCode']; _giftPhoto = json['giftPhoto']; _giftSourceUrl = json['giftSourceUrl']; _giftCandy = json['giftCandy']; _activityId = json['activityId']; _giftIntegral = json['giftIntegral']; _special = json['special']; _type = json['type']; _giftTab = json['giftTab']; _standardId = json['standardId']; _jumpUrl = json['jumpUrl']; _bannerUrl = json['bannerUrl']; _explanationGift = json['explanationGift']; _account = json['account']; _userId = json['userId']; _giftName = json['giftName']; _quantity = json['quantity']; _expiredTime = json['expiredTime']; } String? _id; String? _giftCode; String? _giftPhoto; String? _giftSourceUrl; num? _giftCandy; num? _activityId; num? _giftIntegral; String? _special; String? _type; String? _giftTab; String? _standardId; String? _jumpUrl; String? _bannerUrl; bool? _explanationGift; String? _account; String? _userId; String? _giftName; String? _quantity; num? _expiredTime; SocialChatGiftRes copyWith({ String? id, String? giftCode, String? giftPhoto, String? giftSourceUrl, num? giftCandy, num? activityId, num? giftIntegral, String? special, String? type, String? giftTab, String? standardId, String? jumpUrl, String? bannerUrl, bool? explanationGift, String? account, String? userId, String? giftName, String? quantity, num? expiredTime, }) => SocialChatGiftRes( id: id ?? _id, giftCode: giftCode ?? _giftCode, giftPhoto: giftPhoto ?? _giftPhoto, giftSourceUrl: giftSourceUrl ?? _giftSourceUrl, giftCandy: giftCandy ?? _giftCandy, activityId: activityId ?? _activityId, giftIntegral: giftIntegral ?? _giftIntegral, special: special ?? _special, type: type ?? _type, giftTab: giftTab ?? _giftTab, standardId: standardId ?? _standardId, jumpUrl: jumpUrl ?? _jumpUrl, bannerUrl: bannerUrl ?? _bannerUrl, explanationGift: explanationGift ?? _explanationGift, account: account ?? _account, userId: userId ?? _userId, giftName: giftName ?? _giftName, quantity: quantity ?? _quantity, expiredTime: expiredTime ?? _expiredTime, ); String? get id => _id; String? get giftCode => _giftCode; String? get giftPhoto => _giftPhoto; String? get giftSourceUrl => _giftSourceUrl; num? get giftCandy => _giftCandy; num? get activityId => _activityId; num? get giftIntegral => _giftIntegral; String? get special => _special; String? get type => _type; String? get giftTab => _giftTab; String? get standardId => _standardId; String? get jumpUrl => _jumpUrl; String? get bannerUrl => _bannerUrl; bool? get explanationGift => _explanationGift; String? get account => _account; String? get userId => _userId; String? get giftName => _giftName; String? get quantity => _quantity; num? get expiredTime => _expiredTime; Map toJson() { final map = {}; map['id'] = _id; map['giftCode'] = _giftCode; map['giftPhoto'] = _giftPhoto; map['giftSourceUrl'] = _giftSourceUrl; map['giftCandy'] = _giftCandy; map['activityId'] = _activityId; map['giftIntegral'] = _giftIntegral; map['special'] = _special; map['type'] = _type; map['giftTab'] = _giftTab; map['standardId'] = _standardId; map['jumpUrl'] = _jumpUrl; map['bannerUrl'] = _bannerUrl; map['explanationGift'] = _explanationGift; map['account'] = _account; map['userId'] = _userId; map['giftName'] = _giftName; map['quantity'] = _quantity; map['expiredTime'] = _expiredTime; return map; } }