Decimal.fromInt constructor
Decimal.fromInt(
- int v
Construct an Decimal from an integer.
See the Rust documentation for Decimal for more information.
Implementation
factory Decimal.fromInt(int v) {
final result = _icu4x_Decimal_from_int64_mv1(v);
return Decimal._fromFfi(result, []);
}