{"id":4039,"date":"2022-06-03T06:23:19","date_gmt":"2022-06-03T06:23:19","guid":{"rendered":"https:\/\/mdr.foobrdigital.com\/?p=4039"},"modified":"2022-06-03T06:23:19","modified_gmt":"2022-06-03T06:23:19","slug":"dart-keywords","status":"publish","type":"post","link":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/2022\/06\/03\/dart-keywords\/","title":{"rendered":"Dart Keywords"},"content":{"rendered":"\n<p>Dart Keywords are the\u00a0<strong>reserve words<\/strong>\u00a0that have special meaning for the compiler. It cannot be used as the variable name, class name, or function name. Keywords are case sensitive; they must be written as they are defined. \u00a0There are 61 keywords in the Dart. Some of them are common, you may be already familiar and few are different. Below is the list of the given\u00a0Dart\u00a0keywords.<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td>abstract<sup>2<\/sup><\/td><td>else<\/td><td>import<sup>2<\/sup><\/td><td>super<\/td><\/tr><tr><td>as<sup>2<\/sup><\/td><td>enum<\/td><td>in<\/td><td>switch<\/td><\/tr><tr><td>assert<\/td><td>export<sup>2<\/sup><\/td><td>interface<sup>2<\/sup><\/td><td>sync<sup>1<\/sup><\/td><\/tr><tr><td>async<sup>1<\/sup><\/td><td>extends<\/td><td>is<\/td><td>this<\/td><\/tr><tr><td>await<sup>3<\/sup><\/td><td>extension<sup>2<\/sup><\/td><td>library<sup>2<\/sup><\/td><td>throw<\/td><\/tr><tr><td>break<\/td><td>external<sup>2<\/sup><\/td><td>mixin<sup>2<\/sup><\/td><td>true<\/td><\/tr><tr><td>case<\/td><td>factory<\/td><td>new<\/td><td>try<\/td><\/tr><tr><td>catch<\/td><td>false<\/td><td>null<\/td><td>typedef<sup>2<\/sup><\/td><\/tr><tr><td>class<\/td><td>final<\/td><td>on1<\/td><td>var<\/td><\/tr><tr><td>const<\/td><td>finally<\/td><td>operator<sup>2<\/sup><\/td><td>void<\/td><\/tr><tr><td>continue<\/td><td>for<\/td><td>part<sup>2<\/sup><\/td><td>while<\/td><\/tr><tr><td>covarient<sup>2<\/sup><\/td><td>Function<sup>2<\/sup><\/td><td>rethrow<\/td><td>with<\/td><\/tr><tr><td>default<\/td><td>get<sup>2<\/sup><\/td><td>return<\/td><td>yield<sup>3<\/sup><\/td><\/tr><tr><td>deffered<sup>2<\/sup><\/td><td>hide<sup>1<\/sup><\/td><td>set<sup>2<\/sup><\/td><td><\/td><\/tr><tr><td>do<\/td><td>if<\/td><td>show<sup>1<\/sup><\/td><td><\/td><\/tr><tr><td>dynamic<sup>2<\/sup><\/td><td>implements<sup>2<\/sup><\/td><td>static<sup>2<\/sup><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>In the above list of keywords, we have a few keywords which are marked with the&nbsp;<strong>superscript(1,2 and 3)<\/strong>. Following, we are defining the reason for superscript.<\/p>\n\n\n\n<ul><li><strong>Subscript 1 &#8211;<\/strong>&nbsp;These keywords are called&nbsp;<strong>contextual keywords<\/strong>. They have special meaning and used in particular places.<\/li><li><strong>Subscript 2 &#8211;<\/strong>&nbsp;These keywords are called&nbsp;<strong>built-in identifiers<\/strong>. These types of keywords are used to porting of JavaScript code for Dart, these keywords are treated as a valid identifier, but they cannot be used in the class name function name, or import prefixes.<\/li><li><strong>Subscript 3 &#8211;<\/strong>&nbsp;These are newly added keyword related to the&nbsp;<strong>asynchrony<\/strong><\/li><\/ul>\n\n\n\n<p>We will explain these keywords in detail in the upcoming tutorials.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dart Keywords are the\u00a0reserve words\u00a0that have special meaning for the compiler. It cannot be used as the variable name, class name, or function name. Keywords are case sensitive; they must be written as they are defined. \u00a0There are 61 keywords in the Dart. Some of them are common, you may be already familiar and few [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[854],"tags":[],"_links":{"self":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/4039"}],"collection":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/comments?post=4039"}],"version-history":[{"count":0,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/4039\/revisions"}],"wp:attachment":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/media?parent=4039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/categories?post=4039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/tags?post=4039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}