DataRepositoryTaskStatus.fromJson constructor

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

Implementation

factory DataRepositoryTaskStatus.fromJson(Map<String, dynamic> json) {
  return DataRepositoryTaskStatus(
    failedCount: json['FailedCount'] as int?,
    lastUpdatedTime: timeStampFromJson(json['LastUpdatedTime']),
    succeededCount: json['SucceededCount'] as int?,
    totalCount: json['TotalCount'] as int?,
  );
}