toJson method

  1. @override
Object toJson()

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,
};