TestFailure.fromJson constructor
TestFailure.fromJson(
- Map json_
Implementation
TestFailure.fromJson(core.Map json_)
: this(
actualOutputUrl: json_['actualOutputUrl'] as core.String?,
actualRedirectResponseCode:
json_['actualRedirectResponseCode'] as core.int?,
actualService: json_['actualService'] as core.String?,
expectedOutputUrl: json_['expectedOutputUrl'] as core.String?,
expectedRedirectResponseCode:
json_['expectedRedirectResponseCode'] as core.int?,
expectedService: json_['expectedService'] as core.String?,
headers: (json_['headers'] as core.List?)
?.map((value) => UrlMapTestHeader.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
host: json_['host'] as core.String?,
path: json_['path'] as core.String?,
);