cake_wallet/cw_core/lib/transaction_info.dart
2022-10-12 13:09:57 -04:00

22 lines
No EOL
538 B
Dart

import 'package:cw_core/transaction_direction.dart';
import 'package:cw_core/keyable.dart';
abstract class TransactionInfo extends Object with Keyable {
late String id;
late int amount;
int? fee;
late TransactionDirection direction;
late bool isPending;
late DateTime date;
late int height;
late int confirmations;
String amountFormatted();
String fiatAmount();
String? feeFormatted();
void changeFiatAmount(String amount);
@override
dynamic get keyIndex => id;
late Map<String, dynamic> additionalInfo;
}