Constructs an amount of Ether by a unit and its amount.
factory EtherAmount.fromInt(EtherUnit unit, int amount) { final wei = _factors[unit]! * BigInt.from(amount); return EtherAmount.inWei(wei); }