toJson method
Implementation
Map<String, dynamic> toJson() => withoutNulls({
'type': type,
'dir': dir,
'url': url,
'rewriteHost': rewriteHost,
'insecure': insecure,
'content': content,
'headers': headers,
'statusCode': statusCode,
});