copyWith method

SegmentCreatePayload copyWith({
  1. double? startTime,
  2. double? endTime,
  3. dynamic text,
  4. dynamic translations,
})

Implementation

SegmentCreatePayload copyWith(
    {double? startTime,
    double? endTime,
    dynamic text,
    dynamic translations}) {
  return SegmentCreatePayload(
      startTime: startTime ?? this.startTime,
      endTime: endTime ?? this.endTime,
      text: text ?? this.text,
      translations: translations ?? this.translations);
}