How to get the header and footer of a view block template

I created the view as a block and in the twig block style I can print the fields of view as
contents[‘#view’].field[‘field_machine_name’].value (row)
How can I print text in textarea that I have defined as header and footer for this view.