toJson method

Map<String, dynamic> toJson()

Implementation

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