-
-
Save Rahiche/afc84d8f76ce749d61deb3100de4494b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getBlockedClients() async { | |
final db = await database; | |
var res = await db.rawQuery("SELECT * FROM Client WHERE blocked=1"); | |
List<Client> list = | |
res.isNotEmpty ? res.toList().map((c) => Client.fromMap(c)) : null; | |
return list; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment