fromBigInt function
Convert big int of 10^8 decimals to any number @param {int} Number to convert
Implementation
num fromBigInt(int? number) {
if (number == null) {
return 0;
}
return (Decimal.parse(number.toString()) / Decimal.parse('100000000'))
.toDouble();
}