How can I leave a specific note at the top of a plugin admin page?

Instead of displaying a notice at the top of the WP Dashboard (Sitewide), I'd just like to see a notice at the top of a particular plugin page.

I have a similar question in which I have tried to change his:

add_action (& # 39; admin_notices & # 39 ;, & # 39; wpse332074_donotedit & # 39;);
Function wpse332074_donotedit () {
$ screen = get_current_screen ();
if ($ screen-> post_type == & # 39; s page & # 39;) {
$ variable = $ _GET['post'];
if ($ variable == id_of_page_as_integer) {
$ class = & # 39; notice notice-error & # 39 ;;
$ message = __ (& # 39; Do not edit this page! & # 39 ;, your text domain & # 39;);
Echo & # 39;

& # 39 ;. $ message. & # 39;

& # 39 ;; } } }

Any ideas, which changes I would have to make in order to achieve my desired result?