ProgressCounters.fromJson constructor

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

Implementation

factory ProgressCounters.fromJson(Map<String, dynamic> json) {
  return ProgressCounters(
    cancelledSteps: json['CancelledSteps'] as int?,
    failedSteps: json['FailedSteps'] as int?,
    successSteps: json['SuccessSteps'] as int?,
    timedOutSteps: json['TimedOutSteps'] as int?,
    totalSteps: json['TotalSteps'] as int?,
  );
}