toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'label': label,
'blocks': [for (final e in blocks) e.toJson()],
'has_checkbox': hasCheckbox,
'is_checked': isChecked,
'value': value,
'type': type,
};