copyWith method
Implementation
Team copyWith({
String? id,
String? name,
String? organizationId,
DateTime? createdAt,
DateTime? updatedAt,
}) {
return Team(
id: id ?? this.id,
name: name ?? this.name,
organizationId: organizationId ?? this.organizationId,
createdAt: createdAt ?? this.createdAt,
updatedAt: updatedAt ?? this.updatedAt,
);
}