mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-26 05:19:22 +00:00
20 lines
412 B
Dart
20 lines
412 B
Dart
|
import 'package:decimal/decimal.dart';
|
||
|
import 'package:stackwallet/models/exchange/majestic_bank/mb_object.dart';
|
||
|
|
||
|
class MBLimit extends MBObject {
|
||
|
MBLimit({
|
||
|
required this.currency,
|
||
|
required this.min,
|
||
|
required this.max,
|
||
|
});
|
||
|
|
||
|
final String currency;
|
||
|
final Decimal min;
|
||
|
final Decimal max;
|
||
|
|
||
|
@override
|
||
|
String toString() {
|
||
|
return "MBLimit: { $currency: { min: $min, max: $max } }";
|
||
|
}
|
||
|
}
|