copyWith method
Implementation
QuotesModel copyWith({
String? billId,
Map<String, dynamic>? calculations,
DateTime? createdAt,
String? customerEmail,
String? id,
double? systemSize,
double? totalCost,
DateTime? updatedAt,
}) {
return QuotesModel(
billId: billId ?? this.billId,
calculations: calculations ?? this.calculations,
createdAt: createdAt ?? this.createdAt,
customerEmail: customerEmail ?? this.customerEmail,
id: id ?? this.id,
systemSize: systemSize ?? this.systemSize,
totalCost: totalCost ?? this.totalCost,
updatedAt: updatedAt ?? this.updatedAt,
);
}