cake_wallet/lib/view_model/unspent_coins/unspent_coins_item.dart

47 lines
745 B
Dart
Raw Normal View History

import 'package:mobx/mobx.dart';
part 'unspent_coins_item.g.dart';
class UnspentCoinsItem = UnspentCoinsItemBase with _$UnspentCoinsItem;
abstract class UnspentCoinsItemBase with Store {
UnspentCoinsItemBase({
2022-10-12 17:09:57 +00:00
required this.address,
required this.amount,
required this.hash,
required this.isFrozen,
required this.note,
required this.isSending,
required this.amountRaw,
required this.vout,
required this.keyImage
});
@observable
String address;
@observable
String amount;
@observable
String hash;
@observable
bool isFrozen;
@observable
String note;
@observable
bool isSending;
@observable
int amountRaw;
@observable
int vout;
@observable
String? keyImage;
}