responseType property

HttpResponseType? responseType
getter/setter pair

responseType defines what to do once we grab data from URL. if HttpResponseType.html then result will be converted to element. if HttpResponseType.json then result will be decoded from JSON.

Implementation

HttpResponseType? responseType;