TestExecution.fromJson constructor
TestExecution.fromJson(
- Map json_
Implementation
TestExecution.fromJson(core.Map json_)
: this(
environment: json_.containsKey('environment')
? Environment.fromJson(
json_['environment'] as core.Map<core.String, core.dynamic>)
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
matrixId: json_.containsKey('matrixId')
? json_['matrixId'] as core.String
: null,
projectId: json_.containsKey('projectId')
? json_['projectId'] as core.String
: null,
shard: json_.containsKey('shard')
? Shard.fromJson(
json_['shard'] as core.Map<core.String, core.dynamic>)
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
testDetails: json_.containsKey('testDetails')
? TestDetails.fromJson(
json_['testDetails'] as core.Map<core.String, core.dynamic>)
: null,
testSpecification: json_.containsKey('testSpecification')
? TestSpecification.fromJson(json_['testSpecification']
as core.Map<core.String, core.dynamic>)
: null,
timestamp: json_.containsKey('timestamp')
? json_['timestamp'] as core.String
: null,
toolResultsStep: json_.containsKey('toolResultsStep')
? ToolResultsStep.fromJson(json_['toolResultsStep']
as core.Map<core.String, core.dynamic>)
: null,
);