stack_wallet/lib/models/exchange/incomplete_exchange.dart

33 lines
761 B
Dart
Raw Normal View History

2022-08-26 08:11:35 +00:00
import 'package:decimal/decimal.dart';
import 'package:stackwallet/models/exchange/change_now/exchange_transaction.dart';
import 'package:stackwallet/pages/exchange_view/sub_widgets/exchange_rate_sheet.dart';
class IncompleteExchangeModel {
final String sendTicker;
final String receiveTicker;
final String rateInfo;
final Decimal sendAmount;
final Decimal receiveAmount;
final ExchangeRateType rateType;
String? recipientAddress;
String? refundAddress;
String? rateId;
ExchangeTransaction? trade;
IncompleteExchangeModel({
required this.sendTicker,
required this.receiveTicker,
required this.rateInfo,
required this.sendAmount,
required this.receiveAmount,
required this.rateType,
this.rateId,
});
}