| 1 | import 'package:cw_core/amount/money.dart'; |
| 2 | import 'package:cw_core/transaction_direction.dart'; |
| 3 | import 'package:cw_core/transaction_info.dart'; |
| 4 | |
| 5 | class DecredTransactionInfo extends TransactionInfo { |
| 6 | DecredTransactionInfo({ |
| 7 | required String id, |
| 8 | required Money amount, |
| 9 | required Money fee, |
| 10 | required TransactionDirection direction, |
| 11 | required bool isPending, |
| 12 | required DateTime date, |
| 13 | required int height, |
| 14 | required int confirmations, |
| 15 | required String to, |
| 16 | }) { |
| 17 | this.id = id; |
| 18 | this.amount = amount; |
| 19 | this.fee = fee; |
| 20 | this.height = height; |
| 21 | this.direction = direction; |
| 22 | this.date = date; |
| 23 | this.isPending = isPending; |
| 24 | this.confirmations = confirmations; |
| 25 | this.to = to; |
| 26 | } |
| 27 | } |