copyWith method

PublicTransportCostInfo copyWith({
  1. int? value,
  2. int? fraction,
  3. int? exponent,
  4. String? currencyCode,
})

Implementation

PublicTransportCostInfo copyWith({
  int? value,
  int? fraction,
  int? exponent,
  String? currencyCode
}) {
  return PublicTransportCostInfo(
    value: value ?? this.value,
    fraction: fraction ?? this.fraction,
    exponent: exponent ?? this.exponent,
    currencyCode: currencyCode ?? this.currencyCode
  );
}