Spec-Zone.ru › Dart 2

dart:developer

ServiceExtensionResponse.result constructor

ServiceExtensionResponse.result(
  1. String result
)

Creates a successful response to a service protocol extension RPC.

Requires result to be a JSON object encoded as a string. When forming the JSON-RPC message result will be inlined directly.

Implementation

ServiceExtensionResponse.result(String result)
    : result = result,
      errorCode = null,
      errorDetail = null {
  // TODO: When NNBD is complete, delete the following line.
  checkNotNullable(result, "result");
}

© 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/ServiceExtensionResponse/ServiceExtensionResponse.result.html

Spec-Zone.ru

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