copyWith method
GroupCallParticipantVideoInfo
copyWith({
- List<
GroupCallVideoSourceGroup> ? sourceGroups, - String? endpointId,
- bool? isPaused,
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
GroupCallParticipantVideoInfo copyWith({
List<GroupCallVideoSourceGroup>? sourceGroups,
String? endpointId,
bool? isPaused,
}) =>
GroupCallParticipantVideoInfo(
sourceGroups: sourceGroups ?? this.sourceGroups,
endpointId: endpointId ?? this.endpointId,
isPaused: isPaused ?? this.isPaused,
);