releaseDataSourceProvider top-level property

Provider<ReleaseDataSource> releaseDataSourceProvider
final

Provides the current ReleaseDataSource instance.

Implementation

final releaseDataSourceProvider = Provider<ReleaseDataSource>((ref) {
  final networkService = ref.watch(networkServiceProvider);

  return StdReleaseDataSource(networkService: networkService);
});