passphrase method
Implementation
@override
Future<String?> passphrase(String licenseId) async {
List<Map<String, dynamic>> result = await database.query(
TransactionsTable.name,
columns: [TransactionsTable.passphrase],
where: '${TransactionsTable.origin} = ?',
whereArgs: [licenseId],
);
return (result.isNotEmpty)
? result.first[TransactionsTable.passphrase]
: Future.value(null);
}