Execution.fromJson constructor
Execution.fromJson(
- Map _json
Implementation
Execution.fromJson(core.Map _json)
: this(
completionTime: _json.containsKey('completionTime')
? Timestamp.fromJson(_json['completionTime']
as core.Map<core.String, core.dynamic>)
: null,
creationTime: _json.containsKey('creationTime')
? Timestamp.fromJson(
_json['creationTime'] as core.Map<core.String, core.dynamic>)
: null,
dimensionDefinitions: _json.containsKey('dimensionDefinitions')
? (_json['dimensionDefinitions'] as core.List)
.map((value) => MatrixDimensionDefinition.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
executionId: _json.containsKey('executionId')
? _json['executionId'] as core.String
: null,
outcome: _json.containsKey('outcome')
? Outcome.fromJson(
_json['outcome'] as core.Map<core.String, core.dynamic>)
: null,
specification: _json.containsKey('specification')
? Specification.fromJson(
_json['specification'] as core.Map<core.String, core.dynamic>)
: null,
state:
_json.containsKey('state') ? _json['state'] as core.String : null,
testExecutionMatrixId: _json.containsKey('testExecutionMatrixId')
? _json['testExecutionMatrixId'] as core.String
: null,
);