copyWith method
Implementation
BasicGroup copyWith({
int? id,
int? memberCount,
ChatMemberStatus? status,
bool? isActive,
int? upgradedToSupergroupId,
dynamic extra,
int? clientId,
}) => BasicGroup(
id: id ?? this.id,
memberCount: memberCount ?? this.memberCount,
status: status ?? this.status,
isActive: isActive ?? this.isActive,
upgradedToSupergroupId: upgradedToSupergroupId ?? this.upgradedToSupergroupId,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);