copyWith method

RouteTollPaymentInfo copyWith({
  1. String? currencyCode,
  2. double? cost,
})

Implementation

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