registerService method Null safety

  1. @override
Future<Success> registerService(
  1. String service,
  2. String alias
)
override

Registers a service that can be invoked by other VM service clients, where service is the name of the service to advertise and alias is an alternative name for the registered service.

Requests made to the new service will be forwarded to the client which originally registered the service.

See Success.

Implementation

@override
Future<Success> registerService(String service, String alias) =>
    _call('registerService', {'service': service, 'alias': alias});