copyWith method
MessageGroupCall
copyWith({
- int? uniqueId,
- bool? isActive,
- bool? wasMissed,
- bool? isVideo,
- int? duration,
- List<
MessageSender> ? otherParticipantIds,
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
MessageGroupCall copyWith({
int? uniqueId,
bool? isActive,
bool? wasMissed,
bool? isVideo,
int? duration,
List<MessageSender>? otherParticipantIds,
}) => MessageGroupCall(
uniqueId: uniqueId ?? this.uniqueId,
isActive: isActive ?? this.isActive,
wasMissed: wasMissed ?? this.wasMissed,
isVideo: isVideo ?? this.isVideo,
duration: duration ?? this.duration,
otherParticipantIds: otherParticipantIds ?? this.otherParticipantIds,
);