copyWith method
ChatInviteLinkMembers
copyWith({
- int? totalCount,
- List<
ChatInviteLinkMember> ? members, - dynamic extra,
- int? clientId,
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
ChatInviteLinkMembers copyWith({
int? totalCount,
List<ChatInviteLinkMember>? members,
dynamic extra,
int? clientId,
}) =>
ChatInviteLinkMembers(
totalCount: totalCount ?? this.totalCount,
members: members ?? this.members,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);