Price constructor

Price({
  1. String fromTicker = 'ADA',
  2. String toTicker = 'USD',
  3. int timestamp = 0,
  4. double value = 0.0,
})

Implementation

Price(
    {this.fromTicker = 'ADA',
    this.toTicker = 'USD',
    this.timestamp = 0,
    this.value = 0.0});