copyWith method

ExUnitPrices copyWith({
  1. UnitInterval? memPrice,
  2. UnitInterval? stepPrice,
})

Implementation

ExUnitPrices copyWith({
  UnitInterval? memPrice,
  UnitInterval? stepPrice,
}) {
  return ExUnitPrices(
    memPrice: memPrice ?? this.memPrice,
    stepPrice: stepPrice ?? this.stepPrice,
  );
}