toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (actualOutputUrl != null) 'actualOutputUrl': actualOutputUrl!,
      if (actualRedirectResponseCode != null)
        'actualRedirectResponseCode': actualRedirectResponseCode!,
      if (actualService != null) 'actualService': actualService!,
      if (expectedOutputUrl != null) 'expectedOutputUrl': expectedOutputUrl!,
      if (expectedRedirectResponseCode != null)
        'expectedRedirectResponseCode': expectedRedirectResponseCode!,
      if (expectedService != null) 'expectedService': expectedService!,
      if (headers != null) 'headers': headers!,
      if (host != null) 'host': host!,
      if (path != null) 'path': path!,
    };