toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'gifter_user_id': gifterUserId,
'receiver_user_id': receiverUserId,
'text': text?.toJson(),
'currency': currency,
'amount': amount,
'cryptocurrency': cryptocurrency,
'cryptocurrency_amount': cryptocurrencyAmount.toString(),
'month_count': monthCount,
'day_count': dayCount,
'sticker': sticker?.toJson(),
'@type': constructor,
};