WorkflowRunStatistics.fromJson constructor

WorkflowRunStatistics.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory WorkflowRunStatistics.fromJson(Map<String, dynamic> json) {
  return WorkflowRunStatistics(
    failedActions: json['FailedActions'] as int?,
    runningActions: json['RunningActions'] as int?,
    stoppedActions: json['StoppedActions'] as int?,
    succeededActions: json['SucceededActions'] as int?,
    timeoutActions: json['TimeoutActions'] as int?,
    totalActions: json['TotalActions'] as int?,
  );
}