GetExchangesParams constructor

  1. @JsonSerializable.new(includeIfNull: false)
const GetExchangesParams({
  1. @Default.new(1) int page,
  2. ExchangeAsset? asset,
  3. List<String>? includeOnly,
  4. List<String>? exclude,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory GetExchangesParams({
  @Default(1) int page,
  ExchangeAsset? asset, // CAIP-19 token address
  List<String>? includeOnly, // list of exchangeIds
  List<String>? exclude, // list of exchangeIds
}) = _GetExchangesParams;