copyWith method
ChatInviteLink
copyWith(
{ - String? inviteLink,
- String? name,
- int? creatorUserId,
- int? date,
- int? editDate,
- int? expirationDate,
- int? memberLimit,
- int? memberCount,
- int? pendingJoinRequestCount,
- bool? createsJoinRequest,
- bool? isPrimary,
- bool? isRevoked,
- int? clientId,
})
Implementation
ChatInviteLink copyWith({
String? inviteLink,
String? name,
int? creatorUserId,
int? date,
int? editDate,
int? expirationDate,
int? memberLimit,
int? memberCount,
int? pendingJoinRequestCount,
bool? createsJoinRequest,
bool? isPrimary,
bool? isRevoked,
dynamic extra,
int? clientId,
}) =>
ChatInviteLink(
inviteLink: inviteLink ?? this.inviteLink,
name: name ?? this.name,
creatorUserId: creatorUserId ?? this.creatorUserId,
date: date ?? this.date,
editDate: editDate ?? this.editDate,
expirationDate: expirationDate ?? this.expirationDate,
memberLimit: memberLimit ?? this.memberLimit,
memberCount: memberCount ?? this.memberCount,
pendingJoinRequestCount:
pendingJoinRequestCount ?? this.pendingJoinRequestCount,
createsJoinRequest: createsJoinRequest ?? this.createsJoinRequest,
isPrimary: isPrimary ?? this.isPrimary,
isRevoked: isRevoked ?? this.isRevoked,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);