fromNumber static method
Implementation
static Decimal fromNumber(num value) {
if (value is int) {
return Decimal.fromInt(value);
}
return fromDouble(value as double);
}
static Decimal fromNumber(num value) {
if (value is int) {
return Decimal.fromInt(value);
}
return fromDouble(value as double);
}