StringExtension extension
- on
Methods
-
convertToQuantity(
{required String regionString, bool removeZeroes = false, bool replaceComasAndAddDots = false}) → String -
Available on String, provided by the StringExtension extension
This getter returns a well formatted quantity as String, if the String can be parsed to double If the value can't be parsed, it just returns its value -
quantityFromString(
{required String regionString}) → double? -
Available on String, provided by the StringExtension extension