mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 20:19:25 +00:00
18 lines
No EOL
440 B
Dart
18 lines
No EOL
440 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;
|
|
TransactionDirection direction;
|
|
bool isPending;
|
|
DateTime date;
|
|
int height;
|
|
int confirmations;
|
|
String amountFormatted();
|
|
String fiatAmount();
|
|
void changeFiatAmount(String amount);
|
|
|
|
@override
|
|
dynamic get keyIndex => id;
|
|
} |