свойство responseType
String, сообщающая серверу желаемый формат ответа.
По умолчанию — String. Другие варианты: 'arraybuffer', 'blob', 'document', 'json', 'text'. В некоторых новых браузерах будет вызвана ошибка NS_ERROR_DOM_INVALID_ACCESS_ERR, если responseType задано при выполнении синхронного запроса.
См. также: responseType на MDN
Реализация
String get responseType native;
Реализация
set responseType(String value) native;
© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-html/HttpRequest/responseType.html