Last active
April 9, 2019 13:55
-
-
Save ashishrawat2911/f25acd6599b120bfa3e1d68a58b4430d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
updatePerson(Person person) async { | |
final db = await database; | |
var response = await db.update("Person", person.toMap(), | |
where: "id = ?", whereArgs: [person.id]); | |
return response; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment