2021-07-05 13:52:24 +00:00
|
|
|
import 'package:mobx/mobx.dart';
|
|
|
|
|
|
|
|
part 'unspent_coins_item.g.dart';
|
|
|
|
|
|
|
|
class UnspentCoinsItem = UnspentCoinsItemBase with _$UnspentCoinsItem;
|
|
|
|
|
|
|
|
abstract class UnspentCoinsItemBase with Store {
|
|
|
|
UnspentCoinsItemBase({
|
2021-05-25 17:32:36 +00:00
|
|
|
this.address,
|
|
|
|
this.amount,
|
2021-07-05 13:52:24 +00:00
|
|
|
this.hash,
|
2021-05-25 17:32:36 +00:00
|
|
|
this.isFrozen,
|
|
|
|
this.note,
|
2021-07-05 13:52:24 +00:00
|
|
|
this.isSending});
|
|
|
|
|
|
|
|
@observable
|
|
|
|
String address;
|
|
|
|
|
|
|
|
@observable
|
|
|
|
String amount;
|
|
|
|
|
|
|
|
@observable
|
|
|
|
String hash;
|
|
|
|
|
|
|
|
@observable
|
|
|
|
bool isFrozen;
|
|
|
|
|
|
|
|
@observable
|
|
|
|
String note;
|
2021-05-25 17:32:36 +00:00
|
|
|
|
2021-07-05 13:52:24 +00:00
|
|
|
@observable
|
|
|
|
bool isSending;
|
2021-05-25 17:32:36 +00:00
|
|
|
}
|