Agent is a globally available object which simplifies common tasks that
agent developers will face. At a high level, it is a wrapper around the
Initializes the shared Agent instance.
The hash code for this object. ...
A representation of the runtime type of the object.
exposeService<T extends Service>(FutureOr<T> serviceImpl) void
serviceImpl to this Agent and exposes it to the rest of the
system so that it can be discovered and connected to. Notice that
serviceImpl is of type
T represents the service
type, to enable the ability to wait for any asynchronous operations to
finish before initializing and exposing the service. ...
exposeServiceProvider<T extends Service>(ServiceProvider<T> serviceProvider, ServiceData<T> serviceData) void
#exposeService but instead of passing the service
implementation directly, pass a provider function that can be invoked
asynchronously, when a request is received, to provide the service
implementation at run time. ...
noSuchMethod(Invocation invocation) dynamic
Invoked when a non-existent method or property is accessed. ...
Returns a string representation of this object.
operator ==(Object other) bool
The equality operator. ...