copyWith method

  1. @override
StoryContentLive copyWith({
  1. int? groupCallId,
  2. bool? isRtmpStream,
})
override

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

@override
StoryContentLive copyWith({int? groupCallId, bool? isRtmpStream}) =>
    StoryContentLive(
      groupCallId: groupCallId ?? this.groupCallId,
      isRtmpStream: isRtmpStream ?? this.isRtmpStream,
    );