toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (additionalBindings != null)
'additionalBindings': additionalBindings!,
if (body != null) 'body': body!,
if (custom != null) 'custom': custom!,
if (delete != null) 'delete': delete!,
if (get != null) 'get': get!,
if (patch != null) 'patch': patch!,
if (post != null) 'post': post!,
if (put != null) 'put': put!,
if (responseBody != null) 'responseBody': responseBody!,
if (selector != null) 'selector': selector!,
};