MarketPriceInfo constructor

MarketPriceInfo({
  1. String? currencyCode,
  2. double? price,
})

Implementation

factory MarketPriceInfo({
  $core.String? currencyCode,
  $core.double? price,
}) {
  final $result = create();
  if (currencyCode != null) {
    $result.currencyCode = currencyCode;
  }
  if (price != null) {
    $result.price = price;
  }
  return $result;
}