withFee method

void withFee(
  1. Currency fee
)

Sets the fee.

Implementation

void withFee(Currency fee) {
  this.fee = fee;
}