authClientService top-level property Null safety

Client authClientService

Access the http.Client object available in the current service scope.

The returned object will be the one which was previously registered with registerAuthClientService within the current (or a parent) service scope.

Accessing this getter outside of a service scope will result in an error. See the package:gcloud/service_scope.dart library for more information.

Implementation

http.Client get authClientService =>
    ss.lookup(_authenticatedClientKey) as http.Client;