InputChecklist.fromJson constructor
Parses a InputChecklist from TDLib JSON.
Implementation
factory InputChecklist.fromJson(Map<String, dynamic> json) => InputChecklist(
title: _readObject(json['title'], FormattedText.fromJson),
tasks: _readList<InputChecklistTask>(
json['tasks'],
(e) => _readObject(e, InputChecklistTask.fromJson),
),
othersCanAddTasks: _readBool(json['others_can_add_tasks']),
othersCanMarkTasksAsDone: _readBool(json['others_can_mark_tasks_as_done']),
);