toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      'method': method,
      'connectTimeout': connectTimeout,
      'receiveTimeout': receiveTimeout,
      'sendTimeout': sendTimeout,
      'baseUrl': baseUrl,
      'queryParameters': queryParameters,
      'extra': extra,
      'headers': headers,
      'responseType': responseType,
      'contentType': contentType,
      'validateStatus': validateStatus,
      'receiveDataWhenStatusError': receiveDataWhenStatusError,
      'followRedirects': followRedirects,
      'maxRedirects': maxRedirects,
      'requestEncoder': requestEncoder,
      'responseDecoder': responseDecoder,
      'listFormat': listFormat,
      'persistentConnection': persistentConnection,
    };