copyWith method

GetVideoChatInviteLink copyWith({
  1. int? groupCallId,
  2. bool? canSelfUnmute,
})

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

Implementation

GetVideoChatInviteLink copyWith({int? groupCallId, bool? canSelfUnmute}) =>
    GetVideoChatInviteLink(
      groupCallId: groupCallId ?? this.groupCallId,
      canSelfUnmute: canSelfUnmute ?? this.canSelfUnmute,
    );