copyWithWrapped method

SegmentUpdatePayload copyWithWrapped({
  1. Wrapped? startTime,
  2. Wrapped? endTime,
  3. Wrapped? text,
})

Implementation

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