mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
Implement apiString on the cw_core test FiatCurrency helper (#3649)
Co-authored-by: sethforprivacy <40500387+sethforprivacy@users.noreply.github.com>
This commit is contained in:
@@ -29,6 +29,9 @@ class FiatCurrency implements Currency {
|
||||
@override
|
||||
String? get tag => throw UnimplementedError();
|
||||
|
||||
@override
|
||||
String get apiString => "fiat.$symbol";
|
||||
|
||||
@override
|
||||
Money parseAmount(String value) => Money.parse(value, this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user