mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
* init commit * add select all button * localisation all coins * fix isSending and isFrozen state updates * fix: clean up electrum UTXOs * ui fixes * address the review comments[skip ci] * remove onPopInvoked[skip ci] --------- Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
28 lines
521 B
Dart
28 lines
521 B
Dart
mixin UnspentComparable {
|
|
String get address;
|
|
|
|
String get hash;
|
|
|
|
int get value;
|
|
|
|
int get vout;
|
|
|
|
String? get keyImage;
|
|
|
|
bool operator ==(Object other) {
|
|
if (identical(this, other)) return true;
|
|
|
|
return other is UnspentComparable &&
|
|
other.hash == hash &&
|
|
other.address == address &&
|
|
other.value == value &&
|
|
other.vout == vout &&
|
|
other.keyImage == keyImage;
|
|
}
|
|
|
|
@override
|
|
int get hashCode {
|
|
return Object.hash(address, hash, value, vout, keyImage);
|
|
}
|
|
}
|