Trade class

Annotations
  • @freezed

Constructors

Trade({required String inputAmount, required String outputAmount, required List<String> route, required String inputToken, required String outputToken, required String executionPrice, required String nextMidPrice, required String priceImpact})
factory
Trade.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $TradeCopyWith<Trade>
no setterinherited
executionPrice String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
inputAmount String
no setterinherited
inputToken String
no setterinherited
nextMidPrice String
no setterinherited
outputAmount String
no setterinherited
outputToken String
no setterinherited
priceImpact String
no setterinherited
route List<String>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited