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 (dimensionValue != null)
        'dimensionValue':
            dimensionValue!.map((value) => value.toJson()).toList(),
      if (displayName != null) 'displayName': displayName!,
      if (environmentId != null) 'environmentId': environmentId!,
      if (environmentResult != null)
        'environmentResult': environmentResult!.toJson(),
      if (executionId != null) 'executionId': executionId!,
      if (historyId != null) 'historyId': historyId!,
      if (projectId != null) 'projectId': projectId!,
      if (resultsStorage != null) 'resultsStorage': resultsStorage!.toJson(),
      if (shardSummaries != null)
        'shardSummaries':
            shardSummaries!.map((value) => value.toJson()).toList(),
    };