fromWei static method
Implementation
static Decimal fromWei(
BigInt value,
int decimals,
) =>
(Decimal.fromBigInt(
value,
) /
Decimal.fromBigInt(
BigInt.from(
pow(10, decimals),
),
))
.toDecimal();