PendingTaskCount.fromJson constructor

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

Implementation

factory PendingTaskCount.fromJson(Map<String, dynamic> json) {
  return PendingTaskCount(
    count: json['count'] as int,
    truncated: json['truncated'] as bool?,
  );
}