copyWith method
Funnels
copyWith(
{ - String? id,
- String? creatorId,
- int? currencyId,
- String? name,
- String? logo,
- int? dealsCount,
- int? dealsAmount,
- bool? isPrivate,
- bool? isBookmarked,
- DateTime? createdAt,
- DateTime? updatedAt,
- List<String>? team,
})
Implementation
Funnels copyWith({
String? id,
String? creatorId,
int? currencyId,
String? name,
String? logo,
int? dealsCount,
int? dealsAmount,
bool? isPrivate,
bool? isBookmarked,
DateTime? createdAt,
DateTime? updatedAt,
List<String>? team,
}) {
return Funnels(
id: id ?? this.id,
creatorId: creatorId ?? this.creatorId,
currencyId: currencyId ?? this.currencyId,
name: name ?? this.name,
logo: logo ?? this.logo,
dealsCount: dealsCount ?? this.dealsCount,
dealsAmount: dealsAmount ?? this.dealsAmount,
isPrivate: isPrivate ?? this.isPrivate,
isBookmarked: isBookmarked ?? this.isBookmarked,
createdAt: createdAt ?? this.createdAt,
updatedAt: updatedAt ?? this.updatedAt,
team: team ?? this.team,
);
}