copyWith method
Implementation
StatusFunnels copyWith({
String? id,
String? creatorId,
String? name,
int? dealsCount,
int? dealsAmount,
DateTime? createdAt,
DateTime? updatedAt,
}) {
return StatusFunnels(
id: id ?? this.id,
creatorId: creatorId ?? this.creatorId,
name: name ?? this.name,
dealsCount: dealsCount ?? this.dealsCount,
dealsAmount: dealsAmount ?? this.dealsAmount,
createdAt: createdAt ?? this.createdAt,
updatedAt: updatedAt ?? this.updatedAt,
);
}