toContent method

Content toContent()

Implementation

Content toContent() => Content(
      stringValue: this.stringValue,
      numberValue: this.numberValue,
      booleanValue: this.booleanValue,
      instantValue: this.instantValue,
      fuzzyDateValue: this.fuzzyDateValue,
      binaryValue: this.binaryValue,
      documentId: this.documentId,
      measureValue: this.measureValue?.toMeasure(),
      timeSeries: this.timeSeries?.toTimeSeries(),
      compoundValue: this.compoundValue.map((it) => it.toDataSample(null)).toList(),
      ratio: this.ratio.map((it) => it.toMeasure()).toList(),
      range: this.ratio.map((it) => it.toMeasure()).toList(),
    );