tryParseDecimal function

Decimal? tryParseDecimal(
  1. String string
)

Implementation

Decimal? tryParseDecimal(String string) => Decimal.tryParse(
      string.replaceAll(',', '.'),
    );