Decimal.fromInt constructor

Decimal.fromInt(
  1. int value
)

Implementation

factory Decimal.fromInt(int value) => Decimal.fromBigInt(BigInt.from(value));