fullRefreshCachedDevicesProvider top-level property

Provider<RefreshCachedDevicesUseCase> fullRefreshCachedDevicesProvider
final

Provides a use case for fully refreshing the user's device list

Unlike refreshCachedDevicesProvider, the use case returned by this provider should wait for any loading data to finish, and should then refresh the data again. The other use case should just finish early without refreshing if the data is still loading.

Implementation

final fullRefreshCachedDevicesProvider = Provider<RefreshCachedDevicesUseCase>(
  (ref) => (context) async {
    throw UnimplementedCachedDevicesError();
  },
);