{"id":464,"date":"2024-06-22T07:17:43","date_gmt":"2024-06-22T07:17:43","guid":{"rendered":"https:\/\/www.xopsschool.com\/tutorials\/?p=464"},"modified":"2024-06-22T07:17:43","modified_gmt":"2024-06-22T07:17:43","slug":"error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter","status":"publish","type":"post","link":"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/","title":{"rendered":"Error in Flutter:  &#8220;type &#8216;Null&#8217; is not a subtype of type &#8216;String'&#8221; Error in Flutter"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"363\" height=\"564\" src=\"https:\/\/www.xopsschool.com\/tutorials\/wp-content\/uploads\/2024\/06\/image-56.png\" alt=\"\" class=\"wp-image-465\" srcset=\"https:\/\/www.xopsschool.com\/tutorials\/wp-content\/uploads\/2024\/06\/image-56.png 363w, https:\/\/www.xopsschool.com\/tutorials\/wp-content\/uploads\/2024\/06\/image-56-193x300.png 193w\" sizes=\"auto, (max-width: 363px) 100vw, 363px\" \/><\/figure>\n\n\n\n<p>&#8220;type &#8216;Null&#8217; is not a subtype of type &#8216;String'&#8221; Error in Flutter<br>When developing Flutter applications, encountering the error &#8220;type &#8216;Null&#8217; is not a subtype of type &#8216;String'&#8221; is quite common, especially when dealing with data that might not be immediately available or optional. This error typically occurs when you try to use a null value in a context where a non-nullable String is expected.<\/p>\n\n\n\n<p>Common Causes of Null Values<br>In Flutter, null values can arise from several scenarios:<\/p>\n\n\n\n<p>Widget Parameters: When passing data to a widget through constructor parameters, the data might be null if not properly provided or initialized.<br>Asynchronous Operations: Data fetched asynchronously from APIs or databases might not be immediately available, leading to null values until the operation completes.<br>Optional Data: Some properties of objects may be optional and could be null under certain conditions.<br>Strategies for Handling Null Values<br>Null-aware Operators<br>Using the null-aware operator (??) is a simple and effective way to provide default values for variables that might be null. This operator evaluates to the left-hand side if it is not null, otherwise, it evaluates to the right-hand side.<\/p>\n\n\n\n<p><strong>Example:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>String name = nullableName ?? 'Unknown';\r\n<\/code><\/pre>\n\n\n\n<p>Null Checking<br>Before accessing the properties of a variable that might be null, check if the variable is null. This ensures that your code doesn&#8217;t attempt to access properties of a null object, which would result in a runtime error.<\/p>\n\n\n\n<p><strong>Example:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\r\nif (data != null) {\r\n  \/\/ Access properties of data\r\n} else {\r\n  \/\/ Handle the case where data is null\r\n}\r\n<\/code><\/pre>\n\n\n\n<p>Providing Default Values<br>When dealing with nullable properties, you can provide default values to ensure that your code has a valid value to work with.<\/p>\n\n\n\n<p><strong>Example:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>String regNumber = widget.registrationData&#91;'regnumber'] ?? '';\r<\/code><\/pre>\n\n\n\n<p>Handling Asynchronous Operations<br>For data that is fetched asynchronously, using a FutureBuilder can help manage the different states (loading, complete, error) of the asynchronous operation. Ensure to check for null data before accessing it within the builder function.<\/p>\n\n\n\n<p>In my case:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@override\r\nvoid initState() {\r\n  super.initState();\r\n  fetchCouncils(); \/\/ Fetch councils when the widget initializes\r\n  regNumberController.text = widget.registrationData&#91;'regnumber'] ?? '';\r\n  _dropdownValue = widget.registrationData&#91;'regcouncil'] ?? 'Select Council';\r\n  _selectedYear = widget.registrationData&#91;'regyear'] ?? null;\r\n}\r\n\r<\/code><\/pre>\n\n\n\n<p>In the above code, widget.registrationData might be null, causing potential runtime errors when trying to access its properties.<\/p>\n\n\n\n<p>After Handling Null Values Properly:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@override\r\nvoid initState() {\r\n  super.initState();\r\n  fetchCouncils(); \/\/ Fetch councils when the widget initializes\r\n  if (widget.registrationData != null) {\r\n    regNumberController.text = widget.registrationData&#91;'regnumber'] ?? '';\r\n    _dropdownValue = widget.registrationData&#91;'regcouncil'] ?? 'Select Council';\r\n    _selectedYear = widget.registrationData&#91;'regyear'] ?? yearsList.first; \/\/ Use a default value if regyear is null\r\n  } else {\r\n    \/\/ Handle the case where widget.registrationData is null\r\n    regNumberController.text = '';\r\n    _dropdownValue = 'Select Council';\r\n    _selectedYear = yearsList.first;\r\n  }\r\n}\r\n<\/code><\/pre>\n\n\n\n<p>In this improved version, we first check if widget.registrationData is not null before accessing its properties. If it is null, we provide default values to ensure the application runs smoothly without errors.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;type &#8216;Null&#8217; is not a subtype of type &#8216;String&#8217;&#8221; Error in FlutterWhen developing Flutter applications, encountering the error &#8220;type &#8216;Null&#8217; is not a subtype of type &#8216;String&#8217;&#8221; is quite common, especially when dealing with data that might not be immediately available or optional. This error typically occurs when you try to use a null value &#8230; <a title=\"Error in Flutter:  &#8220;type &#8216;Null&#8217; is not a subtype of type &#8216;String&#039;&#8221; Error in Flutter\" class=\"read-more\" href=\"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/\" aria-label=\"Read more about Error in Flutter:  &#8220;type &#8216;Null&#8217; is not a subtype of type &#8216;String&#039;&#8221; Error in Flutter\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[53,345,81,348,28,30,91,351,35,346,350,347,342,352,90,349],"class_list":["post-464","post","type-post","status-publish","format-standard","hentry","category-flutter","tag-app-development","tag-asynchronous-programming","tag-dart","tag-error-handling","tag-flutter","tag-flutter-development","tag-flutter-widgets","tag-futurebuilder","tag-mobile-app-development","tag-null-safety","tag-null-values","tag-null-aware-operators","tag-programming-tips","tag-runtime-errors","tag-software-development","tag-widget-parameters"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Error in Flutter: &quot;type &#039;Null&#039; is not a subtype of type &#039;String&#039;&quot; Error in Flutter - XOps Tutorials!!!<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Error in Flutter: &quot;type &#039;Null&#039; is not a subtype of type &#039;String&#039;&quot; Error in Flutter - XOps Tutorials!!!\" \/>\n<meta property=\"og:description\" content=\"&#8220;type &#8216;Null&#8217; is not a subtype of type &#8216;String&#039;&#8221; Error in FlutterWhen developing Flutter applications, encountering the error &#8220;type &#8216;Null&#8217; is not a subtype of type &#8216;String&#039;&#8221; is quite common, especially when dealing with data that might not be immediately available or optional. This error typically occurs when you try to use a null value ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/\" \/>\n<meta property=\"og:site_name\" content=\"XOps Tutorials!!!\" \/>\n<meta property=\"article:published_time\" content=\"2024-06-22T07:17:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.xopsschool.com\/tutorials\/wp-content\/uploads\/2024\/06\/image-56.png\" \/>\n<meta name=\"author\" content=\"Avinash Kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Avinash Kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/\"},\"author\":{\"name\":\"Avinash Kumar\",\"@id\":\"https:\/\/www.xopsschool.com\/tutorials\/#\/schema\/person\/fa5aa374a3698a6b72f0a260e0bda0b8\"},\"headline\":\"Error in Flutter: &#8220;type &#8216;Null&#8217; is not a subtype of type &#8216;String'&#8221; Error in Flutter\",\"datePublished\":\"2024-06-22T07:17:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/\"},\"wordCount\":360,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.xopsschool.com\/tutorials\/wp-content\/uploads\/2024\/06\/image-56.png\",\"keywords\":[\"app development\",\"asynchronous programming\",\"Dart\",\"error handling\",\"flutter\",\"flutter development\",\"Flutter widgets\",\"FutureBuilder\",\"mobile app development\",\"null safety\",\"null values\",\"null-aware operators\",\"Programming Tips\",\"runtime errors\",\"software development\",\"widget parameters\"],\"articleSection\":[\"Flutter\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/\",\"url\":\"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/\",\"name\":\"Error in Flutter: \\\"type 'Null' is not a subtype of type 'String'\\\" Error in Flutter - XOps Tutorials!!!\",\"isPartOf\":{\"@id\":\"https:\/\/www.xopsschool.com\/tutorials\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.xopsschool.com\/tutorials\/wp-content\/uploads\/2024\/06\/image-56.png\",\"datePublished\":\"2024-06-22T07:17:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.xopsschool.com\/tutorials\/#\/schema\/person\/fa5aa374a3698a6b72f0a260e0bda0b8\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/#primaryimage\",\"url\":\"https:\/\/www.xopsschool.com\/tutorials\/wp-content\/uploads\/2024\/06\/image-56.png\",\"contentUrl\":\"https:\/\/www.xopsschool.com\/tutorials\/wp-content\/uploads\/2024\/06\/image-56.png\",\"width\":363,\"height\":564},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.xopsschool.com\/tutorials\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Error in Flutter: &#8220;type &#8216;Null&#8217; is not a subtype of type &#8216;String'&#8221; Error in Flutter\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.xopsschool.com\/tutorials\/#website\",\"url\":\"https:\/\/www.xopsschool.com\/tutorials\/\",\"name\":\"XOps Tutorials!!!\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.xopsschool.com\/tutorials\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.xopsschool.com\/tutorials\/#\/schema\/person\/fa5aa374a3698a6b72f0a260e0bda0b8\",\"name\":\"Avinash Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.xopsschool.com\/tutorials\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/db01f522798b98f8f474a1dfdd200df1c0e7ada232088d7a8192e14919e4de0a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/db01f522798b98f8f474a1dfdd200df1c0e7ada232088d7a8192e14919e4de0a?s=96&d=mm&r=g\",\"caption\":\"Avinash Kumar\"},\"url\":\"https:\/\/www.xopsschool.com\/tutorials\/author\/avinash\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Error in Flutter: \"type 'Null' is not a subtype of type 'String'\" Error in Flutter - XOps Tutorials!!!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/","og_locale":"en_US","og_type":"article","og_title":"Error in Flutter: \"type 'Null' is not a subtype of type 'String'\" Error in Flutter - XOps Tutorials!!!","og_description":"&#8220;type &#8216;Null&#8217; is not a subtype of type &#8216;String'&#8221; Error in FlutterWhen developing Flutter applications, encountering the error &#8220;type &#8216;Null&#8217; is not a subtype of type &#8216;String'&#8221; is quite common, especially when dealing with data that might not be immediately available or optional. This error typically occurs when you try to use a null value ... Read more","og_url":"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/","og_site_name":"XOps Tutorials!!!","article_published_time":"2024-06-22T07:17:43+00:00","og_image":[{"url":"https:\/\/www.xopsschool.com\/tutorials\/wp-content\/uploads\/2024\/06\/image-56.png","type":"","width":"","height":""}],"author":"Avinash Kumar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Avinash Kumar","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/#article","isPartOf":{"@id":"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/"},"author":{"name":"Avinash Kumar","@id":"https:\/\/www.xopsschool.com\/tutorials\/#\/schema\/person\/fa5aa374a3698a6b72f0a260e0bda0b8"},"headline":"Error in Flutter: &#8220;type &#8216;Null&#8217; is not a subtype of type &#8216;String'&#8221; Error in Flutter","datePublished":"2024-06-22T07:17:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/"},"wordCount":360,"commentCount":0,"image":{"@id":"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/#primaryimage"},"thumbnailUrl":"https:\/\/www.xopsschool.com\/tutorials\/wp-content\/uploads\/2024\/06\/image-56.png","keywords":["app development","asynchronous programming","Dart","error handling","flutter","flutter development","Flutter widgets","FutureBuilder","mobile app development","null safety","null values","null-aware operators","Programming Tips","runtime errors","software development","widget parameters"],"articleSection":["Flutter"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/","url":"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/","name":"Error in Flutter: \"type 'Null' is not a subtype of type 'String'\" Error in Flutter - XOps Tutorials!!!","isPartOf":{"@id":"https:\/\/www.xopsschool.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/#primaryimage"},"image":{"@id":"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/#primaryimage"},"thumbnailUrl":"https:\/\/www.xopsschool.com\/tutorials\/wp-content\/uploads\/2024\/06\/image-56.png","datePublished":"2024-06-22T07:17:43+00:00","author":{"@id":"https:\/\/www.xopsschool.com\/tutorials\/#\/schema\/person\/fa5aa374a3698a6b72f0a260e0bda0b8"},"breadcrumb":{"@id":"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/#primaryimage","url":"https:\/\/www.xopsschool.com\/tutorials\/wp-content\/uploads\/2024\/06\/image-56.png","contentUrl":"https:\/\/www.xopsschool.com\/tutorials\/wp-content\/uploads\/2024\/06\/image-56.png","width":363,"height":564},{"@type":"BreadcrumbList","@id":"https:\/\/www.xopsschool.com\/tutorials\/error-in-flutter-type-null-is-not-a-subtype-of-type-string-error-in-flutter\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.xopsschool.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Error in Flutter: &#8220;type &#8216;Null&#8217; is not a subtype of type &#8216;String'&#8221; Error in Flutter"}]},{"@type":"WebSite","@id":"https:\/\/www.xopsschool.com\/tutorials\/#website","url":"https:\/\/www.xopsschool.com\/tutorials\/","name":"XOps Tutorials!!!","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.xopsschool.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.xopsschool.com\/tutorials\/#\/schema\/person\/fa5aa374a3698a6b72f0a260e0bda0b8","name":"Avinash Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.xopsschool.com\/tutorials\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/db01f522798b98f8f474a1dfdd200df1c0e7ada232088d7a8192e14919e4de0a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/db01f522798b98f8f474a1dfdd200df1c0e7ada232088d7a8192e14919e4de0a?s=96&d=mm&r=g","caption":"Avinash Kumar"},"url":"https:\/\/www.xopsschool.com\/tutorials\/author\/avinash\/"}]}},"_links":{"self":[{"href":"https:\/\/www.xopsschool.com\/tutorials\/wp-json\/wp\/v2\/posts\/464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xopsschool.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xopsschool.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xopsschool.com\/tutorials\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xopsschool.com\/tutorials\/wp-json\/wp\/v2\/comments?post=464"}],"version-history":[{"count":1,"href":"https:\/\/www.xopsschool.com\/tutorials\/wp-json\/wp\/v2\/posts\/464\/revisions"}],"predecessor-version":[{"id":466,"href":"https:\/\/www.xopsschool.com\/tutorials\/wp-json\/wp\/v2\/posts\/464\/revisions\/466"}],"wp:attachment":[{"href":"https:\/\/www.xopsschool.com\/tutorials\/wp-json\/wp\/v2\/media?parent=464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xopsschool.com\/tutorials\/wp-json\/wp\/v2\/categories?post=464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xopsschool.com\/tutorials\/wp-json\/wp\/v2\/tags?post=464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}