responseText property

String get responseText

Returns response as text.

Throws an "InvalidStateError" DOMException if responseType is not the empty string or "text".

MDN Reference

Implementation

_i2.String get responseText => _i4.getProperty(
      this,
      'responseText',
    );