NumberExtension extension
- on
Properties
- formatNumberToCompact → String
-
formatNumberToCompact method
this method will format the number in compact view i.e. 1K, 2K etc
no setter
- isNumeric → bool
-
isNumeric extension
this extension will check if passed string is numeric or not
no setter
Methods
-
formatNumber(
{String? customPattern}) → String - formatNumber method this method will format the number in default pattern or custom pattern