clearCache abstract method

Future<void> clearCache({
  1. SyncScope? scope,
})

Clears cached data. When scope is provided, clears only that scope; otherwise clears all data. Implementations should also clear sync points and pending operations for the cleared scope(s).

Implementation

Future<void> clearCache({SyncScope? scope});