numbersToEnglish method

String numbersToEnglish()

Implementation

String numbersToEnglish() => replaceAll(RegExp(r'[۰٠]'), '0')
    .replaceAll(RegExp(r'[۱١]'), '1')
    .replaceAll(RegExp(r'[۲٢]'), '2')
    .replaceAll(RegExp(r'[۳٣]'), '3')
    .replaceAll(RegExp(r'[۴٤]'), '4')
    .replaceAll(RegExp(r'[۵٥]'), '5')
    .replaceAll(RegExp(r'[۶٦]'), '6')
    .replaceAll(RegExp(r'[۷٧]'), '7')
    .replaceAll(RegExp(r'[۸٨]'), '8')
    .replaceAll(RegExp(r'[۹٩]'), '9');