toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (clientInfo != null) 'clientInfo': clientInfo!,
      if (environmentMatrix != null) 'environmentMatrix': environmentMatrix!,
      if (extendedInvalidMatrixDetails != null)
        'extendedInvalidMatrixDetails': extendedInvalidMatrixDetails!,
      if (failFast != null) 'failFast': failFast!,
      if (flakyTestAttempts != null) 'flakyTestAttempts': flakyTestAttempts!,
      if (invalidMatrixDetails != null)
        'invalidMatrixDetails': invalidMatrixDetails!,
      if (outcomeSummary != null) 'outcomeSummary': outcomeSummary!,
      if (projectId != null) 'projectId': projectId!,
      if (resultStorage != null) 'resultStorage': resultStorage!,
      if (state != null) 'state': state!,
      if (testExecutions != null) 'testExecutions': testExecutions!,
      if (testMatrixId != null) 'testMatrixId': testMatrixId!,
      if (testSpecification != null) 'testSpecification': testSpecification!,
      if (timestamp != null) 'timestamp': timestamp!,
    };