copyWith method

TrendValueDTO copyWith({
  1. double? $value,
  2. DateTime? createdTimestamp,
})

Implementation

TrendValueDTO copyWith({double? $value, DateTime? createdTimestamp}) {
  return TrendValueDTO(
      $value: $value ?? this.$value,
      createdTimestamp: createdTimestamp ?? this.createdTimestamp);
}