tryParseDecimaal static method

BigRational? tryParseDecimaal(
  1. String decimal
)

Implementation

static BigRational? tryParseDecimaal(String decimal) {
  try {
    return BigRational.parseDecimal(decimal);
  } catch (e) {
    return null;
  }
}