TrainingJobStatusCounters.fromJson constructor

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

Implementation

factory TrainingJobStatusCounters.fromJson(Map<String, dynamic> json) {
  return TrainingJobStatusCounters(
    completed: json['Completed'] as int?,
    inProgress: json['InProgress'] as int?,
    nonRetryableError: json['NonRetryableError'] as int?,
    retryableError: json['RetryableError'] as int?,
    stopped: json['Stopped'] as int?,
  );
}