cake_wallet/lib/entities/transaction_description.dart
Omar Hatem 5ec930cbc6
Re add chatwoot (#1044)
* Revert "Revert "Cw 397 chatwoot live support (#1011)""

This reverts commit ecdc7baa2e.

* Re-add chatwoot
Change chatwoot base url
2023-08-15 03:47:25 +03:00

24 lines
648 B
Dart

import 'package:cw_core/hive_type_ids.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 = TRANSACTION_TYPE_ID;
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 ?? '';
}