BigDecimal.fromBigInt constructor

BigDecimal.fromBigInt(
  1. BigInt value
)

Implementation

factory BigDecimal.fromBigInt(BigInt value) {
  return BigDecimal._(
    intVal: value,
    scale: 0,
  );
}