TradeRequest constructor
const
TradeRequest({})
Constructs a TradeRequest with the required parameters.
inputToken
and outputToken
are the addresses of the input and output tokens
respectively, inputAmount
specifies the amount of the input token to be traded,
and exactIn
determines the type of trade (exact input or exact output).
Implementation
const factory TradeRequest({
required String inputToken,
required String outputToken,
required BigInt inputAmount,
required bool exactIn,
}) = _TradeRequest;