copyWithWrapped method

SegmentCreatePayload copyWithWrapped({
  1. Wrapped<double>? startTime,
  2. Wrapped<double>? endTime,
  3. Wrapped? text,
  4. Wrapped? translations,
})

Implementation

SegmentCreatePayload copyWithWrapped(
    {Wrapped<double>? startTime,
    Wrapped<double>? endTime,
    Wrapped<dynamic>? text,
    Wrapped<dynamic>? translations}) {
  return SegmentCreatePayload(
      startTime: (startTime != null ? startTime.value : this.startTime),
      endTime: (endTime != null ? endTime.value : this.endTime),
      text: (text != null ? text.value : this.text),
      translations:
          (translations != null ? translations.value : this.translations));
}