all method
Returns all the Credentials stored in the database.
Implementation
Future<List<Credentials>> all() async {
final result = await safe((db) async {
final stmt = await db.select(db.tokens).get();
return stmt.map((e) => _CredentialsDb.fromDb(e)).toList();
}, exclusive: false);
return result ?? [];
}