mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-05 11:57:41 +00:00
16 lines
413 B
Dart
16 lines
413 B
Dart
|
import 'package:decimal/decimal.dart';
|
||
|
import 'package:stackwallet/models/exchange/majestic_bank/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 }";
|
||
|
}
|
||
|
}
|