toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'gift': gift.toJson(),
'state': state.toJson(),
'price': price.toJson(),
'expiration_date': expirationDate,
};