CurrencyCountry enum
Extension utilities for nullable integers.
This extension provides helper methods for formatting currency, converting timestamps, checking expiration, and formatting dates. Additional commonly used utilities are also included. Enum representing supported currency countries, including locale ID and default currency symbol.
Values
- ID → const CurrencyCountry
-
const CurrencyCountry(locale: 'id_ID', symbol: 'Rp') - US → const CurrencyCountry
-
const CurrencyCountry(locale: 'en_US', symbol: '\$') - UK → const CurrencyCountry
-
const CurrencyCountry(locale: 'en_GB', symbol: '£') - EU → const CurrencyCountry
-
const CurrencyCountry(locale: 'de_DE', symbol: '€') - JP → const CurrencyCountry
-
const CurrencyCountry(locale: 'ja_JP', symbol: '¥') - KR → const CurrencyCountry
-
const CurrencyCountry(locale: 'ko_KR', symbol: '₩') - CN → const CurrencyCountry
-
const CurrencyCountry(locale: 'zh_CN', symbol: '¥') - IN → const CurrencyCountry
-
const CurrencyCountry(locale: 'hi_IN', symbol: '₹') - SA → const CurrencyCountry
-
const CurrencyCountry(locale: 'ar_SA', symbol: 'ر.س')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- locale → String
-
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
-
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
Constants
-
values
→ const List<
CurrencyCountry> - A constant List of the values in this enum, in order of their declaration.