passphrases method
Implementation
@override
Future<List<String>> passphrases(String userId) async {
List<Map<String, dynamic>> result = await database.query(
TransactionsTable.name,
columns: [TransactionsTable.passphrase],
where: '${TransactionsTable.userid} = ?',
whereArgs: [userId],
);
return result
.map((e) => e[TransactionsTable.passphrase])
.whereType<String>()
.toList();
}