copyWith method
Implementation
WebApiModulesAgentOrderTotals copyWith({
String? grossTotal,
String? premiumTotal,
String? discount,
String? subTotal,
String? tax,
String? tax1,
String? tax2,
String? total,
}) {
return WebApiModulesAgentOrderTotals(
grossTotal: grossTotal ?? this.grossTotal,
premiumTotal: premiumTotal ?? this.premiumTotal,
discount: discount ?? this.discount,
subTotal: subTotal ?? this.subTotal,
tax: tax ?? this.tax,
tax1: tax1 ?? this.tax1,
tax2: tax2 ?? this.tax2,
total: total ?? this.total,
);
}