Google is committed to advancing racial equity for Black communities. See how.

ServiceProvider<T extends Service> typedef

FutureOr<T> ServiceProvider ()

The service provider function that is responsible to return a service that will be exposed upon receiving a service request. Where T represents the service type.

Implementation

typedef ServiceProvider<T extends Service> = FutureOr<T> Function();