toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (completionTime != null) 'completionTime': completionTime!.toJson(),
      if (creationTime != null) 'creationTime': creationTime!.toJson(),
      if (dimensionDefinitions != null)
        'dimensionDefinitions':
            dimensionDefinitions!.map((value) => value.toJson()).toList(),
      if (executionId != null) 'executionId': executionId!,
      if (outcome != null) 'outcome': outcome!.toJson(),
      if (specification != null) 'specification': specification!.toJson(),
      if (state != null) 'state': state!,
      if (testExecutionMatrixId != null)
        'testExecutionMatrixId': testExecutionMatrixId!,
    };