allPassphrases method

  1. @override
Future<List<String>> allPassphrases()
override

Implementation

@override
Future<List<String>> allPassphrases() async {
  List<Map<String, dynamic>> result = await database.query(
    TransactionsTable.name,
    columns: [TransactionsTable.passphrase],
  );
  return result
      .map((e) => e[TransactionsTable.passphrase])
      .whereType<String>()
      .toList();
}