toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'transaction_uuid': transaction_uuid,
'created_at': created_at,
'updated_at': updated_at,
'status_code': status_code,
'currency': currency.name,
'status_denom': status_denom,
'description': description,
'merchant_op_id': merchant_op_id,
'price_total': price_total,
'items': items.map((x) => x.toMap()).toList(),
'links': links.map((x) => x.toMap()).toList(),
};
}