toLovelaces static method

BigInt toLovelaces(
  1. String amount
)

Implementation

static BigInt toLovelaces(String amount) {
  final parse = BigRational.parseDecimal(amount);
  return (parse * _adaDecimal).toBigInt();
}