toString method

  1. @override
String toString()
inherited

A string representation of this object.

Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.

Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.

Implementation

@override
String toString() {
  final _this = this as RequestConfig;
  return 'RequestConfig(showErrorMsg: ${_this.showErrorMsg}, loadingText: ${_this.loadingText}, contentType: ${_this.contentType}, headers: ${_this.headers}, showDefaultLoading: ${_this.showDefaultLoading}, data: ${_this.data}, responseType: ${_this.responseType}, nullParams: ${_this.nullParams}, requestEncoder: ${_this.requestEncoder}, dioStart: ${_this.dioStart}, returnIsString: ${_this.returnIsString}, fullUrl: ${_this.fullUrl}, interceptorCall: ${_this.interceptorCall}, urlParseFormat: ${_this.urlParseFormat}, responseResultCallback: ${_this.responseResultCallback}, extra: ${_this.extra}, cancelToken: ${_this.cancelToken}, onSendCallback: ${_this.onSendCallback}, onReceiveProgress: ${_this.onReceiveProgress}, downloadUrl: ${_this.downloadUrl}, savePath: ${_this.savePath})';
}