update method
- TrackedDonation trackedDonation
Retrieves a list of tracked donations from the database, ordered by date recorded.
Implementation
Future<int> update(TrackedDonation trackedDonation) async {
return await db.update(tableTrackedDonations, trackedDonation.toMap(),
where: '$columnId = ?', whereArgs: [trackedDonation.id]);
}