mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-28 22:39:21 +00:00
30 lines
614 B
Dart
30 lines
614 B
Dart
/*
|
|
* 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
|
|
*
|
|
*/
|
|
|
|
import 'package:decimal/decimal.dart';
|
|
|
|
import 'mb_object.dart';
|
|
|
|
class MBRate extends MBObject {
|
|
MBRate({
|
|
required this.fromCurrency,
|
|
required this.toCurrency,
|
|
required this.rate,
|
|
});
|
|
|
|
final String fromCurrency;
|
|
final String toCurrency;
|
|
final Decimal rate;
|
|
|
|
@override
|
|
String toString() {
|
|
return "MBRate: { $fromCurrency-$toCurrency: $rate }";
|
|
}
|
|
}
|