CurrencyCode enum

Enum representing various currency codes with their respective symbols and names.

Inheritance
Available extensions

Values

usd → const CurrencyCode
const CurrencyCode(symbol: r'$', name: 'United States Dollar', code: 'USD')
eur → const CurrencyCode
const CurrencyCode(symbol: '€', name: 'European Euro', code: 'EUR')
gbp → const CurrencyCode
const CurrencyCode(symbol: '£', name: 'Pound Sterling', code: 'GBP')
sgd → const CurrencyCode
const CurrencyCode(symbol: 'S\$', name: 'Singapore Dollar', code: 'SGD')
aed → const CurrencyCode
const CurrencyCode(symbol: 'د.إ', name: 'United Arab Emirates Dirham', code: 'AED')
aud → const CurrencyCode
const CurrencyCode(symbol: 'AU\$', name: 'Australian Dollar', code: 'AUD')
cad → const CurrencyCode
const CurrencyCode(symbol: 'CA\$', name: 'Canadian Dollar', code: 'CAD')
cny → const CurrencyCode
const CurrencyCode(symbol: '¥', name: 'Chinese Yuan Renminbi', code: 'CNY')
sek → const CurrencyCode
const CurrencyCode(symbol: 'Skr', name: 'Swedish Krona', code: 'SEK')
nzd → const CurrencyCode
const CurrencyCode(symbol: 'NZ\$', name: 'New Zealand Dollar', code: 'NZD')
mxn → const CurrencyCode
const CurrencyCode(symbol: 'MX\$', name: 'Mexican Peso', code: 'MXN')
rub → const CurrencyCode
const CurrencyCode(symbol: '₽', name: 'Russian Ruble', code: 'RUB')
all → const CurrencyCode
const CurrencyCode(symbol: 'Lek', name: 'Albanian Lek', code: 'ALL')
amd → const CurrencyCode
const CurrencyCode(symbol: '֏', name: 'Armenian Dram', code: 'AMD')
ars → const CurrencyCode
const CurrencyCode(symbol: 'AR\$', name: 'Argentine Peso', code: 'ARS')
awg → const CurrencyCode
const CurrencyCode(symbol: 'ƒ', name: 'Aruban Florin', code: 'AWG')
bbd → const CurrencyCode
const CurrencyCode(symbol: 'Bds\$', name: 'Barbadian Dollar', code: 'BBD')
bdt → const CurrencyCode
const CurrencyCode(symbol: 'Tk', name: 'Bangladeshi Taka', code: 'BDT')
bmd → const CurrencyCode
const CurrencyCode(symbol: '\$', name: 'Bermudian Dollar', code: 'BMD')
bnd → const CurrencyCode
const CurrencyCode(symbol: 'BN\$', name: 'Brunei Dollar', code: 'BND')
bob → const CurrencyCode
const CurrencyCode(symbol: 'Bs', name: 'Bolivian Boliviano', code: 'BOB')
bsd → const CurrencyCode
const CurrencyCode(symbol: 'B\$', name: 'Bahamian Dollar', code: 'BSD')
bwp → const CurrencyCode
const CurrencyCode(symbol: 'PKRs', name: 'Botswana Pula', code: 'BWP')
bzd → const CurrencyCode
const CurrencyCode(symbol: 'BZ\$', name: 'Belize Dollar', code: 'BZD')
chf → const CurrencyCode
const CurrencyCode(symbol: 'CHF', name: 'Swiss Franc', code: 'CHF')
cop → const CurrencyCode
const CurrencyCode(symbol: 'CO\$', name: 'Colombian Peso', code: 'COP')
crc → const CurrencyCode
const CurrencyCode(symbol: '₡', name: 'Costa Rican Colon', code: 'CRC')
cup → const CurrencyCode
const CurrencyCode(symbol: '\$', name: 'Cuban Peso', code: 'CUP')
czk → const CurrencyCode
const CurrencyCode(symbol: 'Kč', name: 'Czech Koruna', code: 'CZK')
dkk → const CurrencyCode
const CurrencyCode(symbol: 'Dkr', name: 'Danish Krone', code: 'DKK')
dop → const CurrencyCode
const CurrencyCode(symbol: 'RD\$', name: 'Dominican Peso', code: 'DOP')
dzd → const CurrencyCode
const CurrencyCode(symbol: 'DA', name: 'Algerian Dinar', code: 'DZD')
egp → const CurrencyCode
const CurrencyCode(symbol: 'EGP', name: 'Egyptian Pound', code: 'EGP')
etb → const CurrencyCode
const CurrencyCode(symbol: 'Br', name: 'Ethiopian Birr', code: 'ETB')
fjd → const CurrencyCode
const CurrencyCode(symbol: 'FJ\$', name: 'Fijian Dollar', code: 'FJD')
gip → const CurrencyCode
const CurrencyCode(symbol: '£', name: 'Gibraltar Pound', code: 'GIP')
gmd → const CurrencyCode
const CurrencyCode(symbol: 'D', name: 'Gambian Dalasi', code: 'GMD')
gtq → const CurrencyCode
const CurrencyCode(symbol: 'GTQ', name: 'Guatemalan Quetzal', code: 'GTQ')
gyd → const CurrencyCode
const CurrencyCode(symbol: 'G\$', name: 'Guyanese Dollar', code: 'GYD')
hkd → const CurrencyCode
const CurrencyCode(symbol: 'HK\$', name: 'Hong Kong Dollar', code: 'HKD')
hnl → const CurrencyCode
const CurrencyCode(symbol: 'HNL', name: 'Honduran Lempira', code: 'HNL')
hrk → const CurrencyCode
const CurrencyCode(symbol: 'kn', name: 'Croatian Kuna', code: 'HRK')
htg → const CurrencyCode
const CurrencyCode(symbol: 'G', name: 'Haitian Gourde', code: 'HTG')
huf → const CurrencyCode
const CurrencyCode(symbol: 'Ft', name: 'Hungarian Forint', code: 'HUF')
idr → const CurrencyCode
const CurrencyCode(symbol: 'Rp', name: 'Indonesian Rupiah', code: 'IDR')
ils → const CurrencyCode
const CurrencyCode(symbol: '₪', name: 'Israeli New Shekel', code: 'ILS')
inr → const CurrencyCode
const CurrencyCode(symbol: '₹', name: 'Indian Rupee', code: 'INR')
jmd → const CurrencyCode
const CurrencyCode(symbol: 'J\$', name: 'Jamaican Dollar', code: 'JMD')
kes → const CurrencyCode
const CurrencyCode(symbol: 'Ksh', name: 'Kenyan Shilling', code: 'KES')
kgs → const CurrencyCode
const CurrencyCode(symbol: 'Лв', name: 'Kyrgyzstani Som', code: 'KGS')
khr → const CurrencyCode
const CurrencyCode(symbol: 'KHR', name: 'Cambodian Riel', code: 'KHR')
kyd → const CurrencyCode
const CurrencyCode(symbol: '\$', name: 'Cayman Islands Dollar', code: 'KYD')
kzt → const CurrencyCode
const CurrencyCode(symbol: 'KZT', name: 'Kazakhstani Tenge', code: 'KZT')
lak → const CurrencyCode
const CurrencyCode(symbol: '₭', name: 'Lao Kip', code: 'LAK')
lbp → const CurrencyCode
const CurrencyCode(symbol: 'LB£', name: 'Lebanese Pound', code: 'LBP')
lkr → const CurrencyCode
const CurrencyCode(symbol: 'SLRs', name: 'Sri Lankan Rupee', code: 'LKR')
lrd → const CurrencyCode
const CurrencyCode(symbol: 'L\$', name: 'Liberian Dollar', code: 'LRD')
lsl → const CurrencyCode
const CurrencyCode(symbol: 'L', name: 'Lesotho Loti', code: 'LSL')
mad → const CurrencyCode
const CurrencyCode(symbol: 'MAD', name: 'Moroccan Dirham', code: 'MAD')
mdl → const CurrencyCode
const CurrencyCode(symbol: 'MDL', name: 'Moldovan Leu', code: 'MDL')
mkd → const CurrencyCode
const CurrencyCode(symbol: 'MKD', name: 'Macedonian Denar', code: 'MKD')
mmk → const CurrencyCode
const CurrencyCode(symbol: 'K', name: 'Myanmar Kyat', code: 'MMK')
mnt → const CurrencyCode
const CurrencyCode(symbol: '₮', name: 'Mongolian Tugrik', code: 'MNT')
mop → const CurrencyCode
const CurrencyCode(symbol: 'MOP\$', name: 'Macanese Pataca', code: 'MOP')
mur → const CurrencyCode
const CurrencyCode(symbol: 'MURs', name: 'Mauritian Rupee', code: 'MUR')
mvr → const CurrencyCode
const CurrencyCode(symbol: 'Rf', name: 'Maldivian Rufiyaa', code: 'MVR')
mwk → const CurrencyCode
const CurrencyCode(symbol: 'MK', name: 'Malawian Kwacha', code: 'MWK')
myr → const CurrencyCode
const CurrencyCode(symbol: 'RM', name: 'Malaysian Ringgit', code: 'MYR')
nad → const CurrencyCode
const CurrencyCode(symbol: 'N\$', name: 'Namibian Dollar', code: 'NAD')
ngn → const CurrencyCode
const CurrencyCode(symbol: '₦', name: 'Nigerian Naira', code: 'NGN')
nio → const CurrencyCode
const CurrencyCode(symbol: 'C\$', name: 'Nicaraguan Cordoba', code: 'NIO')
nok → const CurrencyCode
const CurrencyCode(symbol: 'Nkr', name: 'Norwegian Krone', code: 'NOK')
npr → const CurrencyCode
const CurrencyCode(symbol: 'NPRs', name: 'Nepalese Rupee', code: 'NPR')
pen → const CurrencyCode
const CurrencyCode(symbol: 'S/', name: 'Peruvian Sol', code: 'PEN')
pgk → const CurrencyCode
const CurrencyCode(symbol: 'K', name: 'Papua New Guinean Kina', code: 'PGK')
php → const CurrencyCode
const CurrencyCode(symbol: '₱', name: 'Philippine Peso', code: 'PHP')
pkr → const CurrencyCode
const CurrencyCode(symbol: 'PKRs', name: 'Pakistani Rupee', code: 'PKR')
qar → const CurrencyCode
const CurrencyCode(symbol: 'ر.ق', name: 'Qatari Riyal', code: 'QAR')
sar → const CurrencyCode
const CurrencyCode(symbol: 'SR', name: 'Saudi Arabian Riyal', code: 'SAR')
scr → const CurrencyCode
const CurrencyCode(symbol: 'SRe', name: 'Seychellois Rupee', code: 'SCR')
sll → const CurrencyCode
const CurrencyCode(symbol: 'Le', name: 'Sierra Leonean Leone', code: 'SLL')
sos → const CurrencyCode
const CurrencyCode(symbol: 'Ssh', name: 'Somali Shilling', code: 'SOS')
ssp → const CurrencyCode
const CurrencyCode(symbol: '£', name: 'South Sudanese Pound', code: 'SSP')
svc → const CurrencyCode
const CurrencyCode(symbol: '₡', name: 'Salvadoran Colón', code: 'SVC')
szl → const CurrencyCode
const CurrencyCode(symbol: 'L', name: 'Swazi Lilangeni', code: 'SZL')
thb → const CurrencyCode
const CurrencyCode(symbol: '฿', name: 'Thai Baht', code: 'THB')
ttd → const CurrencyCode
const CurrencyCode(symbol: 'TT\$', name: 'Trinidad and Tobago Dollar', code: 'TTD')
tzs → const CurrencyCode
const CurrencyCode(symbol: 'TSh', name: 'Tanzanian Shilling', code: 'TZS')
uyu → const CurrencyCode
const CurrencyCode(symbol: '\$U', name: 'Uruguayan Peso', code: 'UYU')
uzs → const CurrencyCode
const CurrencyCode(symbol: 'so\'m', name: 'Uzbekistani Som', code: 'UZS')
yer → const CurrencyCode
const CurrencyCode(symbol: 'YR', name: 'Yemeni Rial', code: 'YER')
zar → const CurrencyCode
const CurrencyCode(symbol: 'R', name: 'South African Rand', code: 'ZAR')
ghs → const CurrencyCode
const CurrencyCode(symbol: 'GH₵', name: 'Ghanaian Cedi', code: 'GHS')

Properties

code String
The ISO 4217 currency code (e.g., 'INR' for Indian Rupee).
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String
The full name of the currency (e.g., 'Indian Rupee' for INR).
final
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol String
The symbol representing the currency (e.g., '₹' for INR).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromCode(String code) CurrencyCode?
Retrieves a CurrencyCode enum value from a given currency code string. Returns null if no matching currency code is found.

Constants

values → const List<CurrencyCode>
A constant List of the values in this enum, in order of their declaration.