copyWith method

EvmType2GasPrice copyWith({
  1. Amount? maxFeePerGas,
  2. Amount? maxPriorityFeePerGas,
})

Implementation

EvmType2GasPrice copyWith({
  Amount? maxFeePerGas,
  Amount? maxPriorityFeePerGas,
}) {
  return EvmType2GasPrice(
    maxFeePerGas: maxFeePerGas ?? this.maxFeePerGas,
    maxPriorityFeePerGas: maxPriorityFeePerGas ?? this.maxPriorityFeePerGas,
  );
}