numbersToPersian method
Implementation
String numbersToPersian() => 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٩]'), '۹');