ChecklistTask constructor
const
ChecklistTask({})
Creates a new ChecklistTask object.
Implementation
const factory ChecklistTask({
/// Unique identifier of the task
@JsonKey(name: 'id') required int id,
/// Text of the task
@JsonKey(name: 'text') required String text,
/// Optional. Special entities that appear in the task text
@JsonKey(name: 'text_entities') List<MessageEntity>? textEntities,
/// Optional. User that completed the task; omitted if the task wasn't completed
@JsonKey(name: 'completed_by_user') User? completedByUser,
/// Optional. Point in time (Unix timestamp) when the task was completed; 0 if the task wasn't completed
@JsonKey(name: 'completion_date') int? completionDate,
}) = _ChecklistTask;