copyWithWrapped method

SegmentCreateResponse copyWithWrapped({
  1. Wrapped<int>? version,
  2. Wrapped<String>? newSegment,
})

Implementation

SegmentCreateResponse copyWithWrapped(
    {Wrapped<int>? version, Wrapped<String>? newSegment}) {
  return SegmentCreateResponse(
      version: (version != null ? version.value : this.version),
      newSegment: (newSegment != null ? newSegment.value : this.newSegment));
}