ObjectiveStatusCounters.fromJson constructor

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

Implementation

factory ObjectiveStatusCounters.fromJson(Map<String, dynamic> json) {
  return ObjectiveStatusCounters(
    failed: json['Failed'] as int?,
    pending: json['Pending'] as int?,
    succeeded: json['Succeeded'] as int?,
  );
}