convertToArabic static method

String convertToArabic(
  1. String number
)

Converts the given number to Arabic words.

Example:

var arabicResult = NumberArabicReader.convert('4500');
print(arabicResult); // Output: "أربعة آلاف وخمسمائة"

Implementation

static String convertToArabic(String number) {
  return NumberArabic.convert(number);
}