You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
562 B
21 lines
562 B
import 'package:flutter/foundation.dart';
|
|
import 'package:cake_wallet/exchange/trade.dart';
|
|
|
|
abstract class ExchangeTradeState {}
|
|
|
|
class ExchangeTradeStateInitial extends ExchangeTradeState {}
|
|
|
|
class TradeIsCreating extends ExchangeTradeState {}
|
|
|
|
class TradeIsCreatedSuccessfully extends ExchangeTradeState {
|
|
TradeIsCreatedSuccessfully({@required this.trade});
|
|
|
|
final Trade trade;
|
|
}
|
|
|
|
class TradeIsCreatedFailure extends ExchangeTradeState {
|
|
TradeIsCreatedFailure({@required this.title, @required this.error});
|
|
|
|
final String title;
|
|
final String error;
|
|
} |