DeploymentOverview.fromJson constructor

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

Implementation

factory DeploymentOverview.fromJson(Map<String, dynamic> json) {
  return DeploymentOverview(
    failed: json['Failed'] as int?,
    inProgress: json['InProgress'] as int?,
    pending: json['Pending'] as int?,
    ready: json['Ready'] as int?,
    skipped: json['Skipped'] as int?,
    succeeded: json['Succeeded'] as int?,
  );
}