sync method
Implementation
Future<void> sync() async {
if (_store.isEmpty) {
await delete();
} else if (isDirty) {
await persist();
}
}
Future<void> sync() async {
if (_store.isEmpty) {
await delete();
} else if (isDirty) {
await persist();
}
}