Decimal.fromInt constructor

Decimal.fromInt(
  1. int value
)

Implementation

factory Decimal.fromInt(int value) {
  return Decimal(BigInt.from(value), 0);
}