formatters library

Constants

arabicNumeralsEastToWest → const Map<String, String>
A map where the keys are the Eastern Arabic Numerals in unicodes and values of Western Arabic Numerals
easternArabicNumeralsUnicodeRange → const String
The unicode range of Eastern Arabic Numerals (i.e. ٠١٢٣٤٥٦٧٨٩).

Properties

easternArabicNumeralsRegex RegExp
A regular expression to detect Eastern Arabic Numerals (i.e. ٠١٢٣٤٥٦٧٨٩).
final

Functions

replaceArabicNumeralsFromEastToWest(String string) String
Replaces: any of ٠١٢٣٤٥٦٧٨٩ within a string with its respective 0123456789