copyWith method
Implementation
RouteTollPaymentInfo copyWith({
String? currencyCode,
double? cost
}) {
return RouteTollPaymentInfo(
currencyCode: currencyCode ?? this.currencyCode,
cost: cost ?? this.cost
);
}
RouteTollPaymentInfo copyWith({
String? currencyCode,
double? cost
}) {
return RouteTollPaymentInfo(
currencyCode: currencyCode ?? this.currencyCode,
cost: cost ?? this.cost
);
}