toJson method
Implementation
Map<String, dynamic> toJson() {
final headers = this.headers;
final queryString = this.queryString;
return {
if (headers != null) 'headers': headers,
if (queryString != null) 'queryString': queryString,
};
}