toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'id': id,
'star_amount': starAmount.toJson(),
'is_refund': isRefund,
'date': date,
'type': type.toJson(),
};