copyWith method
Implementation
Organization copyWith({
String? id,
String? name,
String? slug,
String? logo,
Map<String, dynamic>? metadata,
DateTime? createdAt,
DateTime? updatedAt,
}) {
return Organization(
id: id ?? this.id,
name: name ?? this.name,
slug: slug ?? this.slug,
logo: logo ?? this.logo,
metadata: metadata ?? this.metadata,
createdAt: createdAt ?? this.createdAt,
updatedAt: updatedAt ?? this.updatedAt,
);
}