dev
dart 22 lines 586 Bytes
Raw
1 import 'package:cw_core/crypto_currency.dart';
2
3 class TradeRequest {
4 TradeRequest(
5 {required this.fromCurrency,
6 required this.toCurrency,
7 required this.toAddress,
8 required this.refundAddress,
9 required this.fromAmount,
10 this.toAmount = '',
11 this.toAddressExtraId = '',
12 this.isFixedRate = false});
13
14 final CryptoCurrency fromCurrency;
15 final CryptoCurrency toCurrency;
16 final String toAddress;
17 final String refundAddress;
18 final String fromAmount;
19 final String toAmount;
20 final String toAddressExtraId;
21 final bool isFixedRate;
22 }