IndexDetail constructor

IndexDetail({
  1. IndexDetailIdEnum? id,
  2. String? name,
  3. num? value,
  4. IndexDetailUnitEnum? unit,
  5. bool? measured,
  6. String? source_,
  7. bool? historyAvailable,
  8. String? asOf,
  9. String? note,
  10. List<DaiPoint> recentHistory = const [],
  11. List<DaiPoint> history = const [],
})

Returns a new IndexDetail instance.

Implementation

IndexDetail({
  this.id,
  this.name,
  this.value,
  this.unit,
  this.measured,
  this.source_,
  this.historyAvailable,
  this.asOf,
  this.note,
  this.recentHistory = const [],
  this.history = const [],
});