toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (completionTime != null) 'completionTime': completionTime!,
      if (creationTime != null) 'creationTime': creationTime!,
      if (description != null) 'description': description!,
      if (deviceUsageDuration != null)
        'deviceUsageDuration': deviceUsageDuration!,
      if (dimensionValue != null) 'dimensionValue': dimensionValue!,
      if (hasImages != null) 'hasImages': hasImages!,
      if (labels != null) 'labels': labels!,
      if (multiStep != null) 'multiStep': multiStep!,
      if (name != null) 'name': name!,
      if (outcome != null) 'outcome': outcome!,
      if (runDuration != null) 'runDuration': runDuration!,
      if (state != null) 'state': state!,
      if (stepId != null) 'stepId': stepId!,
      if (testExecutionStep != null) 'testExecutionStep': testExecutionStep!,
      if (toolExecutionStep != null) 'toolExecutionStep': toolExecutionStep!,
    };