JupiterRoute class

Annotations
  • @JsonSerializable()

Constructors

JupiterRoute({required int inAmount, required int outAmount, required int outAmountWithSlippage, required double? priceImpactPct, required List<JupiterMarket> marketInfos})
JupiterRoute.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
inAmount int
final
marketInfos List<JupiterMarket>
final
outAmount int
final
outAmountWithSlippage int
final
priceImpactPct double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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