This commit is contained in:
sneurlax 2023-01-25 13:44:09 -06:00
parent 2d7a50a5a1
commit 4ae7876322

View file

@ -42,23 +42,4 @@ class Fiat {
return map; return map;
} }
Fiat copyWith({
String? ticker,
String? name,
Decimal? min_amount,
Decimal? max_amount,
}) {
return Fiat(
ticker: ticker ?? this.ticker,
name: name ?? this.name,
min_amount: min_amount ?? this.min_amount,
max_amount: max_amount ?? this.max_amount,
);
}
@override
String toString() {
return "Fiat: ${toJson()}";
}
} }