toJson method
Implementation
Map<String, dynamic> toJson() {
Map<String, dynamic> map = {};
map.putIfNotNull('giftId', giftId);
map.putIfNotNull('giftName', giftName);
map.putIfNotNull('giftIcon', giftIcon);
map.putIfNotNull('giftPrice', giftPrice);
map.putIfNotNull('giftEffect', giftEffect);
map.putIfNotNull('count', count);
return map;
}