cake_wallet/lib/entities/transaction_info.dart
2020-12-17 15:39:21 +02:00

20 lines
No EOL
476 B
Dart

import 'package:cake_wallet/entities/transaction_direction.dart';
import 'package:cake_wallet/utils/mobx.dart';
abstract class TransactionInfo extends Object with Keyable {
String id;
int amount;
int fee;
TransactionDirection direction;
bool isPending;
DateTime date;
int height;
int confirmations;
String amountFormatted();
String fiatAmount();
String feeFormatted();
void changeFiatAmount(String amount);
@override
dynamic get keyIndex => id;
}