-
-
Save Rahiche/bf8f43ecf717782b8b5652400dc1f287 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
updateClient(Client newClient) async { | |
final db = await database; | |
var res = await db.update("Client", newClient.toMap(), | |
where: "id = ?", whereArgs: [newClient.id]); | |
return res; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment