toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (environment != null) 'environment': environment!,
      if (id != null) 'id': id!,
      if (matrixId != null) 'matrixId': matrixId!,
      if (projectId != null) 'projectId': projectId!,
      if (shard != null) 'shard': shard!,
      if (state != null) 'state': state!,
      if (testDetails != null) 'testDetails': testDetails!,
      if (testSpecification != null) 'testSpecification': testSpecification!,
      if (timestamp != null) 'timestamp': timestamp!,
      if (toolResultsStep != null) 'toolResultsStep': toolResultsStep!,
    };