PersianToolsNumber class

Constructors

PersianToolsNumber.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addCommas(Object number) String
convertArToEn(String digits) String
convertArToFa(String digits) String
convertEnToAr(String digits) String
convertEnToFa(String digits) String
convertFaToEn(String digits) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
numberToWords(int number, {bool ordinal = false}) String
numberToWordsString(String number, {bool ordinal = false}) String?
removeCommas(String number) num
toString() String
A string representation of this object.
inherited
wordsToNumber(String words) int?
wordsToNumberString(String words, {DigitLocale digits = DigitLocale.en, bool addComma = false}) String?

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

arNumber → const String
faNumber → const String
numberToWord → const Map<int, String>
ten → const Map<String, int>
units → const Map<String, int>