import 'package:mobx/mobx.dart'; import 'package:cw_core/transaction_info.dart'; import 'package:cw_core/transaction_history.dart'; // NOTE: Methods currently not used. class DecredTransactionHistory extends TransactionHistoryBase { DecredTransactionHistory() { transactions = ObservableMap(); } Future init() async {} @override void addOne(TransactionInfo transaction) => transactions[transaction.id] = transaction; @override void addMany(Map transactions) => this.transactions.addAll(transactions); @override Future save() async {} Future changePassword(String password) async {} void _update(TransactionInfo transaction) => transactions[transaction.id] = transaction; }