toJson method
Implementation
@override
Object toJson() => {
'description': ?description,
'expectedOutputUrl': ?expectedOutputUrl,
'expectedRedirectResponseCode': ?expectedRedirectResponseCode,
if (headers.isNotDefault) 'headers': [for (final i in headers) i.toJson()],
'host': ?host,
'path': ?path,
'service': ?service,
};