Amount.from constructor
Converts the given value to a BigInt This is useful when the value is already in the smallest unit of the currency
Implementation
Amount.from({
required int value,
required this.decimals,
}) : value = BigInt.from(value);