CW-814-Add-Armenian-AMD-Currency (#2027)
* feat: Add Armenian AMD Currency * feat: Add Armenian AMD Currency * Update lib/entities/fiat_currency.dart [skip ci] --------- Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
David Adegoke committed
Feb 12, 2025 at 14:56 UTC
b16beb37b7a2b8c78c5272055ed5f86f84200f81
1 file changed
+3
-1
lib/entities/fiat_currency.dart
+3
-1
@@ -10,8 +10,9 @@ class FiatCurrency extends EnumerableItem<String> with Serializable<String> impl
10
static List<FiatCurrency> get all => _all.values.toList();
11
12
static List<FiatCurrency> get currenciesAvailableToBuyWith =>
13
- [aud, bgn, brl, cad, chf, clp, cop, czk, dkk, egp, eur, gbp, gtq, hkd, hrk, huf, idr, ils, inr, isk, jpy, krw, mad, mxn, myr, ngn, nok, nzd, php, pkr, pln, ron, sek, sgd, thb, twd, usd, vnd, zar, tur];
13
+ [amd, aud, bgn, brl, cad, chf, clp, cop, czk, dkk, egp, eur, gbp, gtq, hkd, hrk, huf, idr, ils, inr, isk, jpy, krw, mad, mxn, myr, ngn, nok, nzd, php, pkr, pln, ron, sek, sgd, thb, twd, usd, vnd, zar, tur,];
14
15
+ static const amd = FiatCurrency(symbol: 'AMD', countryCode: "arm", fullName: "Armenian Dram");
16
static const ars = FiatCurrency(symbol: 'ARS', countryCode: "arg", fullName: "Argentine Peso");
17
static const aud = FiatCurrency(symbol: 'AUD', countryCode: "aus", fullName: "Australian Dollar");
18
static const bdt = FiatCurrency(symbol: 'BDT', countryCode: "bgd", fullName: "Bangladeshi Taka");
@@ -63,6 +64,7 @@ class FiatCurrency extends EnumerableItem<String> with Serializable<String> impl
64
static const tur = FiatCurrency(symbol: 'TRY', countryCode: "tur", fullName: "Turkish Lira");
65
66
static final _all = {
67
+ FiatCurrency.amd.raw: FiatCurrency.amd,
68
FiatCurrency.ars.raw: FiatCurrency.ars,
69
FiatCurrency.aud.raw: FiatCurrency.aud,
70
FiatCurrency.bdt.raw: FiatCurrency.bdt,