copyWith method

GetGroupCallInviteLink 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

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