stack_wallet/lib/models/lelantus_coin.dart

48 lines
994 B
Dart
Raw Permalink Normal View History

2023-05-26 21:21:16 +00:00
/*
* This file is part of Stack Wallet.
*
* Copyright (c) 2023 Cypher Stack
* All Rights Reserved.
* The code is distributed under GPLv3 license, see LICENSE file for details.
* Generated by Cypher Stack on 2023-05-26
*
*/
2022-08-26 08:11:35 +00:00
import 'package:hive/hive.dart';
part 'type_adaptors/lelantus_coin.g.dart';
2023-07-24 15:42:29 +00:00
@Deprecated("Use Isar object instead")
2022-08-26 08:11:35 +00:00
// @HiveType(typeId: 9)
class LelantusCoin {
// @HiveField(0)
int index;
// @HiveField(1)
int value;
// @HiveField(2)
String publicCoin;
// @HiveField(3)
String txId;
// @HiveField(4)
int anonymitySetId;
// @HiveField(5)
bool isUsed;
2023-07-24 15:42:29 +00:00
@Deprecated("Use Isar object instead")
2022-08-26 08:11:35 +00:00
LelantusCoin(
this.index,
this.value,
this.publicCoin,
this.txId,
this.anonymitySetId,
this.isUsed,
);
@override
String toString() {
2024-05-27 23:56:22 +00:00
final String coin =
2022-08-26 08:11:35 +00:00
"{index: $index, value: $value, publicCoin: $publicCoin, txId: $txId, anonymitySetId: $anonymitySetId, isUsed: $isUsed}";
return coin;
}
}