networkServiceProvider top-level property
final
Provides the current NetworkService
instance.
See NetworkService
for more information.
Implementation
final networkServiceProvider = Provider<NetworkService>((ref) {
final dio = Dio();
return DioNetworkService(dio);
});