ServiceProviderImpl class

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

Constructors

ServiceProviderImpl ()

Properties

hashCode → int

The hash code for this object.
read-onlyinherited

runtimeType → Type

A representation of the runtime type of the object.
read-onlyinherited

Methods

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_fuchsia_sys.ServiceProvider#connectToService.

noSuchMethod(Invocation invocation) dynamic

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

toString() String

A string representation of this object.
inherited

Operators

operator ==(Object other) bool

The equality operator.
inherited