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

ServiceProviderImpl class

*[<Null safety>](*

The ServiceProviderImpl is a concrete implementation of the fidl.ServiceProvider interface.


ServiceProviderImpl ()


hashCode → int

The hash code for this object. ...
read-only, inherited

runtimeType → Type

A representation of the runtime type of the object.
read-only, inherited


addServiceForName<T>(void connector(InterfaceRequest<T>), String serviceName) void

Registers the connector function with the given serviceName. The connector function is invoked when the service provider is asked by the framework to connect to the service in the connectToService method.

bind(InterfaceRequest interfaceRequest) void

Binds this object to the interfaceRequest.

close() void

Closes the connection to the underlying binding.

connectToService(String serviceName, Channel? channel) Future<void>

See fidl.ServiceProvider#connectToService.

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed. ...

toString() String

A string representation of this object. ...


operator ==(Object other) bool

The equality operator. ...