Execution.fromJson constructor

Execution.fromJson(
  1. 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,
      );