copyWith method

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

Implementation

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