2023-05-26 21:21:16 +00:00
|
|
|
/*
|
|
|
|
* This file is part of Stack Wallet.
|
|
|
|
*
|
|
|
|
* Copyright (c) 2023 Cypher Stack
|
|
|
|
* All Rights Reserved.
|
|
|
|
* The code is distributed under GPLv3 license, see LICENSE file for details.
|
|
|
|
* Generated by Cypher Stack on 2023-05-26
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2023-02-02 00:24:41 +00:00
|
|
|
import 'package:decimal/decimal.dart';
|
2024-05-27 23:56:22 +00:00
|
|
|
|
2024-05-23 00:37:06 +00:00
|
|
|
import 'mb_object.dart';
|
2023-02-02 00:24:41 +00:00
|
|
|
|
|
|
|
class MBRate extends MBObject {
|
2024-05-27 23:56:22 +00:00
|
|
|
MBRate({
|
|
|
|
required this.fromCurrency,
|
|
|
|
required this.toCurrency,
|
|
|
|
required this.rate,
|
|
|
|
});
|
2023-02-02 00:24:41 +00:00
|
|
|
|
|
|
|
final String fromCurrency;
|
|
|
|
final String toCurrency;
|
|
|
|
final Decimal rate;
|
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() {
|
|
|
|
return "MBRate: { $fromCurrency-$toCurrency: $rate }";
|
|
|
|
}
|
|
|
|
}
|