W3cubDocs

/Dart 2

response property

dynamic response
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), @SupportedBrowser(SupportedBrowser.IE, '10'), @SupportedBrowser(SupportedBrowser.SAFARI)

The data received as a reponse from the request.

The data could be in the form of a String, ByteBuffer, Document, Blob, or json (also a String). null indicates request failure.

Implementation

(SupportedBrowser.CHROME)
(SupportedBrowser.FIREFOX)
(SupportedBrowser.IE, '10')
(SupportedBrowser.SAFARI)
dynamic get response => _convertNativeToDart_XHR_Response(this._get_response);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-html/HttpRequest/response.html