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.
ServiceExtensionResponse.result(String result)
: result = result,
errorCode = null,
errorDetail = null {
ArgumentError.checkNotNull(result, "result");
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-developer/ServiceExtensionResponse/ServiceExtensionResponse.result.html