GetPriceMarketReply constructor

GetPriceMarketReply({
  1. Iterable<PriceHistory>? buy,
  2. Iterable<PriceHistory>? sell,
  3. String? fiat,
  4. String? token,
})

Implementation

factory GetPriceMarketReply({
  $core.Iterable<PriceHistory>? buy,
  $core.Iterable<PriceHistory>? sell,
  $core.String? fiat,
  $core.String? token,
}) {
  final $result = create();
  if (buy != null) {
    $result.buy.addAll(buy);
  }
  if (sell != null) {
    $result.sell.addAll(sell);
  }
  if (fiat != null) {
    $result.fiat = fiat;
  }
  if (token != null) {
    $result.token = token;
  }
  return $result;
}