Spec-Zone.ru › Dart 2

dart:developer

ServiceExtensionHandler typedef

ServiceExtensionHandler = Future<ServiceExtensionResponse> Function(String method, Map<String, String> parameters)

A service protocol extension handler. Registered with registerExtension.

Must complete to a ServiceExtensionResponse. method is the method name of the service protocol request, and parameters is a map holding the parameters to the service protocol request.

NOTE: all parameter names and values are encoded as strings.

Implementation

typedef Future<ServiceExtensionResponse> ServiceExtensionHandler(
    String method, Map<String, String> parameters);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-developer/ServiceExtensionHandler.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API