updateSyncHistory method
Implementation
Future<bool> updateSyncHistory(AudioBookSyncHistory audioSyncHistory) async {
try {
await pb
.collection('audiobooks_sync_history')
.create(body: audioSyncHistory.toJson());
return true;
} catch (e) {
return false;
// print('Error saving audiobookHistory: [${audiobook.title}] :$e');
}
}