PriceHistory constructor

PriceHistory({
  1. double? price,
  2. Int64? timestamp,
})

Implementation

factory PriceHistory({
  $core.double? price,
  $fixnum.Int64? timestamp,
}) {
  final $result = create();
  if (price != null) {
    $result.price = price;
  }
  if (timestamp != null) {
    $result.timestamp = timestamp;
  }
  return $result;
}