copyWith method
Implementation
Organization copyWith({
String? orgId,
String? name,
bool? isOwner,
bool? isAdmin,
bool? isVerified,
Map<String, dynamic>? config,
List<OrgQuota>? quotas,
}) {
return Organization(
orgId: orgId ?? this.orgId,
name: name ?? this.name,
isOwner: isOwner ?? this.isOwner,
isAdmin: isAdmin ?? this.isAdmin,
isVerified: isVerified ?? this.isVerified,
config: config ?? this.config,
quotas: quotas ?? this.quotas,
);
}