copyWith method
GetGroupCallStreamSegment
copyWith({
- int? groupCallId,
- int? timeOffset,
- int? scale,
- int? channelId,
- GroupCallVideoQuality? videoQuality()?,
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
GetGroupCallStreamSegment copyWith({
int? groupCallId,
int? timeOffset,
int? scale,
int? channelId,
GroupCallVideoQuality? Function()? videoQuality,
}) =>
GetGroupCallStreamSegment(
groupCallId: groupCallId ?? this.groupCallId,
timeOffset: timeOffset ?? this.timeOffset,
scale: scale ?? this.scale,
channelId: channelId ?? this.channelId,
videoQuality: videoQuality != null ? videoQuality() : this.videoQuality,
);