energyFee property

Amount get energyFee

Implementation

Amount get energyFee {
  return Amount.from(
    value: energyBalance >= energyConsumed ? 0 : energyConsumed * energyPrice,
    decimals: 6,
  );
}