toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'boosted_chat_id': boostedChatId,
'currency': currency,
'amount': amount,
'user_ids': userIds.map((item) => item).toList(),
'month_count': monthCount,
'text': text?.toJson(),
'@type': constructor,
};