SEP24Transaction.fromJson constructor
SEP24Transaction.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SEP24Transaction.fromJson(Map<String, dynamic> json) {
Refund? refunds;
if (json['refunds'] != null) {
refunds = Refund.fromJson(json['refunds']);
}
return SEP24Transaction(
json['id'],
json['kind'],
json['status'],
convertInt(json['status_eta']),
json['kyc_verified'],
json['more_info_url'],
json['amount_in'],
json['amount_in_asset'],
json['amount_out'],
json['amount_out_asset'],
json['amount_fee'],
json['amount_fee_asset'],
json['quote_id'],
json['started_at'],
json['completed_at'],
json['updated_at'],
json['stellar_transaction_id'],
json['external_transaction_id'],
json['message'],
json['refunded'],
refunds,
json['from'],
json['to'],
json['deposit_memo'],
json['deposit_memo_type'],
json['claimable_balance_id'],
json['withdraw_anchor_account'],
json['withdraw_memo'],
json['withdraw_memo_type']);
}