toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (description != null) 'description': description!,
if (expectedOutputUrl != null) 'expectedOutputUrl': expectedOutputUrl!,
if (expectedRedirectResponseCode != null)
'expectedRedirectResponseCode': expectedRedirectResponseCode!,
if (headers != null) 'headers': headers!,
if (host != null) 'host': host!,
if (path != null) 'path': path!,
if (service != null) 'service': service!,
};