ServiceProvider<T extends Service> typedef

*[<Null safety>](https://dart.dev/null-safety)*




FutureOr&lt;T>? ServiceProvider&lt;{T extends [Service](../package-fidl_fidl/Service-class.md)}> = FutureOr&lt;T>? Function()

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();