responseType property
The type of data that Dio handles with options.
The default value is ResponseType.json. Dio will parse response string to JSON object automatically when the content-type of response is Headers.jsonContentType.
See also:
plainif you want to receive the data asString.bytesif you want to receive the data as the complete bytes.streamif you want to receive the data as streamed binary bytes.
Implementation
ResponseType? responseType;