mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-26 20:46:21 +00:00
ad6edd9a05
* Revert "Cw 397 chatwoot live support (#1011)"
This reverts commit af9b5ff10c
.
* Add Version 4.8.1 configs
* Update macos build version [skip ci]
23 lines
585 B
Dart
23 lines
585 B
Dart
import 'package:hive/hive.dart';
|
|
|
|
part 'transaction_description.g.dart';
|
|
|
|
@HiveType(typeId: TransactionDescription.typeId)
|
|
class TransactionDescription extends HiveObject {
|
|
TransactionDescription({required this.id, this.recipientAddress, this.transactionNote});
|
|
|
|
static const typeId = 2;
|
|
static const boxName = 'TransactionDescriptions';
|
|
static const boxKey = 'transactionDescriptionsBoxKey';
|
|
|
|
@HiveField(0, defaultValue: '')
|
|
String id;
|
|
|
|
@HiveField(1)
|
|
String? recipientAddress;
|
|
|
|
@HiveField(2)
|
|
String? transactionNote;
|
|
|
|
String get note => transactionNote ?? '';
|
|
}
|