Content constructor

Content({
  1. String? stringValue,
  2. double? numberValue,
  3. bool? booleanValue,
  4. DateTime? instantValue,
  5. int? fuzzyDateValue,
  6. String? binaryValue,
  7. String? documentId,
  8. Measure? measureValue,
  9. TimeSeries? timeSeries,
  10. List<DataSample> compoundValue = const [],
  11. List<Measure> ratio = const [],
  12. List<Measure> range = const [],
})

Returns a new Content instance.

Implementation

Content({
  this.stringValue,
  this.numberValue,
  this.booleanValue,
  this.instantValue,
  this.fuzzyDateValue,
  this.binaryValue,
  this.documentId,
  this.measureValue,
  this.timeSeries,
  this.compoundValue = const [],
  this.ratio = const [],
  this.range = const [],
});