TaskStatistics.fromJson constructor
TaskStatistics.fromJson(
- Map<String, dynamic> json
)
Implementation
factory TaskStatistics.fromJson(Map<String, dynamic> json) {
return TaskStatistics(
canceledChecks: json['canceledChecks'] as int?,
compliantChecks: json['compliantChecks'] as int?,
failedChecks: json['failedChecks'] as int?,
inProgressChecks: json['inProgressChecks'] as int?,
nonCompliantChecks: json['nonCompliantChecks'] as int?,
totalChecks: json['totalChecks'] as int?,
waitingForDataCollectionChecks:
json['waitingForDataCollectionChecks'] as int?,
);
}