copyWith method

  1. @override
MessageInviteVideoChatParticipants copyWith({
  1. int? groupCallId,
  2. List<int>? userIds,
})
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
MessageInviteVideoChatParticipants copyWith({
  int? groupCallId,
  List<int>? userIds,
}) =>
    MessageInviteVideoChatParticipants(
      groupCallId: groupCallId ?? this.groupCallId,
      userIds: userIds ?? this.userIds,
    );