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