toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'gift': gift.toJson(),
'is_buyer': isBuyer,
'state': state.toJson(),
'offer_address': offerAddress,
'gram_amount': gramAmount.toString(),
'fee_basis_points': feeBasisPoints,
'expiration_date': expirationDate,
'offer_message_id': offerMessageId,
'@type': constructor,
};