toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  'actualOutputUrl': ?actualOutputUrl,
  'actualRedirectResponseCode': ?actualRedirectResponseCode,
  'actualService': ?actualService,
  'expectedOutputUrl': ?expectedOutputUrl,
  'expectedRedirectResponseCode': ?expectedRedirectResponseCode,
  'expectedService': ?expectedService,
  if (headers.isNotDefault) 'headers': [for (final i in headers) i.toJson()],
  'host': ?host,
  'path': ?path,
};