{"id":2255,"date":"2013-06-17T09:30:56","date_gmt":"2013-06-17T13:30:56","guid":{"rendered":"http:\/\/www.simpleprogrammer.com\/?p=2255"},"modified":"2018-01-28T13:39:32","modified_gmt":"2018-01-28T18:39:32","slug":"dart-language","status":"publish","type":"post","link":"https:\/\/simpleprogrammer.com\/dart-language\/","title":{"rendered":"Getting Started With Google&rsquo;s Dart Language"},"content":{"rendered":"<p>I was a little skeptical of the Dart language when Google first announced it.\\n\\nWhen I looked at the syntax of the language I thought that it didn\u2019t really seem to offer anything new.\\n\\nWhy create another language that is not very different than what we already have?\\n\\nHow is this actually much better than JavaScript?\\n\\nBut after having worked with Dart now for quite awhile and producing <a href=\"https:\/\/simpleprogrammer.com\/introduction-building-web-applications-dart\" target=\"_blank\">a Pluralsight course on Dart<\/a>, I\u2019ve completely changed my mind.\\n\\n<\/p>\n<h2>The Dart language is awesome!<\/h2>\n<p>\\n\\nWhat makes the Dart language so awesome is all the little subtleties the language designers added to the language, not any major new concepts or ideas.\\n\\n<strong>When I started writing Dart code it felt exactly right.\u00a0 It felt like all the little annoyances that I had with languages like C#, Java and JavaScript were removed by the Dart language.<\/strong>\\n\\nIn fact, the real beauty of Dart is that if you already know C# or Java and JavaScript, you\u2019ll probably be able to learn enough about the Dart language to be productive in Dart in less than an hour.\\n\\nBefore I show you just how easy it is to get started, let me briefly tell you what the Dart language is:\\n\\n<\/p>\n<ul>\\n    <\/p>\n<li><strong>Object oriented.<\/strong>\u00a0 Everything is an object including primitives and nulls<\/li>\n<p>\\n    <\/p>\n<li><strong>Optionally typed.<\/strong>\u00a0 You can add type annotations which static checking tools can use to help you find errors in your code, but you don\u2019t have to use them.<\/li>\n<p>\\n    <\/p>\n<li><strong>Interpreted.<\/strong>\u00a0 Dart is run in a VM, but it is not compiled first.\u00a0 Round-trip time for making changes is very short.<\/li>\n<p>\\n    <\/p>\n<li><strong>Compatible with JavaScript.<\/strong>\u00a0 You can compile your Dart code to JavaScript and run Dart applications in any modern browser.<\/li>\n<p>\\n    <\/p>\n<li><strong>FAST!<\/strong>\u00a0 Dart is very fast, much faster than JavaScript in just about every test.<\/li>\n<p>\\n<\/ul>\n<p>\\n\\nSome cool language features that I like about the Dart language:\\n\\n<\/p>\n<ul>\\n    <\/p>\n<li><strong>Mixins.<\/strong>\u00a0 Instead of using inheritance, you can use a mixin to add functionality to a class without directly inheriting from another class.<\/li>\n<p>\\n    <\/p>\n<li><strong>Isolates.<\/strong>\u00a0 Instead of threads, the Dart language uses isolates for concurrency.\u00a0 Isolates can\u2019t actually share any memory, they pass information though messages.\u00a0 It is very hard to shoot yourself in the foot.<\/li>\n<p>\\n    <\/p>\n<li><strong>Simplified built-in types.<\/strong>\u00a0 Numbers can be either int or double, and you can just use num, if you don\u2019t care.\u00a0 Lists and maps can be declared as literals.\u00a0 An array is just a special case of a list.<\/li>\n<p>\\n    <\/p>\n<li><strong>Functions are first-class objects.<\/strong>\u00a0 You can pass them around just like any other object.\u00a0 There is even a lambda-like short-hand for creating a one-liner function.<\/li>\n<p>\\n    <\/p>\n<li><strong>Top level functions and variables.<\/strong>\u00a0 Don\u2019t want to put a function or variable in a class?\u00a0 Good, you don\u2019t have to.\u00a0 In the Dart language, you can declare them anywhere you want.<\/li>\n<p>\\n    <\/p>\n<li><strong>Simplified classes.<\/strong>\u00a0 There is short-hand for declaring constructors that assign parameters to class members.\u00a0 Class members don\u2019t have protected, private, public.\u00a0 Member variables are automatically properties.<\/li>\n<p>\\n    <\/p>\n<li><strong>String interpolation.<\/strong>\u00a0 No more string format methods, just use the $variableName in a string to have its value expanded.<\/li>\n<p>\\n<\/ul>\n<p>\\n\\n<\/p>\n<h2><\/h2>\n<p>\\n\\n<\/p>\n<h2>Getting setup with the Dart language<\/h2>\n<p>\\n\\nReady to get running in 5 minutes?\\n\\nOk, read on.\\n\\n<strong>Step 1<\/strong>: Go to <a href=\"http:\/\/dartlang.org\">http:\/\/dartlang.org<\/a> and click \u201cGet started.\u201d\\n\\n<a href=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2013\/06\/2013-06-16_11-12-28.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"Dart Language Homepage\" src=\"http:\/\/www.simpleprogrammer.com\/wp-content\/uploads\/2013\/06\/2013-06-16_11-12-28_thumb.png\" alt=\"Dart Language Homepage\" width=\"498\" height=\"282\" border=\"0\" \/><\/a>\\n\\n<strong>Step 2:<\/strong> Download Dart (64-bit or 32-bit.)\u00a0 Unzip the file and copy the \u201cdart\u201d folder to where you want Dart installed.\\n\\nThis folder will contain the Dart Editor, the Dart SDK and the Chromium web browser which has a built-in Dart VM.\\n\\n<strong>Step 3:<\/strong> Run DartEditor.exe\\n\\n<a href=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2013\/06\/Dart_Editor_2013-06-16_11-18-01.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"Dart_Editor_2013-06-16_11-18-01\" src=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2013\/06\/Dart_Editor_2013-06-16_11-18-01_thumb.png\" alt=\"Dart_Editor_2013-06-16_11-18-01\" width=\"508\" height=\"360\" border=\"0\" \/><\/a>\\n\\nThat is it, now you are ready to rock some Dart code!\\n\\n<\/p>\n<h2>Creating your first Dart language App<\/h2>\n<p>\\n\\nThe Dart language can actually be used outside of a browser, just like you can use JavaScript with Node.js.\u00a0 But, most developers will probably want to use Dart the same way we use JavaScript in a web application today.\\n\\nI\u2019m going to walk you through a real simple example that will show you how to create a basic Dart application that is able to respond to a button click and manipulate some DOM data.\u00a0 For more advanced examples, you can check out my recently released <a href=\"https:\/\/simpleprogrammer.com\/introduction-building-web-applications-dart\">Pluralsight course on Creating Web Applications with Dart<\/a>. (I will plug this one more time before this post is over\u2026 wait for it\u2026)\\n\\n<strong>Step 1: <\/strong>\\n\\nGo to File \u2013&gt; New Application.\\n\\nFill in your application name.\u00a0 I\u2019ll call mine HelloWorldDartWeb.\\n\\nLeave \u201cGenerate sample content\u201d checked.\\n\\nSelect \u201cWeb application.\u201d\\n\\n<a href=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2013\/06\/2013-06-16_11-24-03.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"2013-06-16_11-24-03\" src=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2013\/06\/2013-06-16_11-24-03_thumb-1-1.png\" alt=\"2013-06-16_11-24-03\" width=\"499\" height=\"483\" border=\"0\" \/><\/a>\\n\\n<strong>Step 2:<\/strong>\\n\\nOpen the helloworlddartweb.html file and clear out everything in the body element except for the two script tags at the bottom.\\n\\nThe first script tag imports our actual Dart file, just like you would use to add JavaScript to a page.\\n\\nThe second script adds Dart support to the browser.\\n\\n<strong>Step 3: <\/strong>\\n\\nAdd the following HTML to the body tag in the helloworlddartweb.html file:\\n\\n<script src=\"https:\/\/gist.github.com\/simpleprogrammer-shared\/c17baa1229872dd3514ce15a38e02bbf.js\"><\/script>\\n\\n&nbsp;\\n\\nThis will just create a button and a div.\u00a0 We are going to add some Dart code to respond to a button click and populate the div with some text.\\n\\n<strong>Step 4:<\/strong>\\n\\nOpen the helloworlddartweb.dart file and clear out everything in main() and delete the reverseText function.\\n\\nNotice that there are only two things we really will need in our .dart file.\u00a0 Just an import \u2018dart:html\u2019, to import that html library for Dart, and the main function, which executes as soon the DOM content is loaded on the page.\\n\\n<strong>Step 5:<\/strong>\\n\\nEdit the helloworldweb.dart file to make it look like this:\\n\\n<\/p>\n<div id=\"scid:C89E2BDB-ADD3-4f7a-9810-1B7EACF446C1:a00b01cb-dc56-403c-bd08-bfee2fd180d3\" class=\"wlWriterEditableSmartContent\" style=\"float: none; margin: 0px; display: inline; padding: 0px;\"><script src=\"https:\/\/gist.github.com\/simpleprogrammer-shared\/0a45c3b43c83e9220430b73ce008592c.js\"><\/script><\/div>\n<p>\\n\\nThis code simply gets the button using a CSS selector.\u00a0 It uses the query function to do this.\\n\\nThen we register the <em>addResult<\/em> function as an event handler for the <em>onClick<\/em> event for the button.\\n\\nIn the <em>addResult<\/em> function, we simply query for the <em>resultDiv<\/em> and change its text.\\n\\nAfter you run this example, you should see a result like this:\\n\\n<a href=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2013\/06\/HelloWorldDartWeb_-_Chromium_2013-06-16_11-47-56.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"HelloWorldDartWeb_-_Chromium_2013-06-16_11-47-56\" src=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2013\/06\/HelloWorldDartWeb_-_Chromium_2013-06-16_11-47-56_thumb.png\" alt=\"HelloWorldDartWeb_-_Chromium_2013-06-16_11-47-56\" width=\"487\" height=\"395\" border=\"0\" \/><\/a>\\n\\n<strong>Step 6:<\/strong>\\n\\nNow change the Dart code to look like this:\\n\\n<\/p>\n<div id=\"scid:C89E2BDB-ADD3-4f7a-9810-1B7EACF446C1:41f94aa7-ecd1-4835-9f48-ef0ea24bcf23\" class=\"wlWriterEditableSmartContent\" style=\"float: none; margin: 0px; display: inline; padding: 0px;\"><script src=\"https:\/\/gist.github.com\/simpleprogrammer-shared\/eed4ec6b2bd3e393d7213b4e8767887c.js\"><\/script><\/div>\n<p>\\n\\nTry running the code again and you should see it works exactly as before.\u00a0 Here we just shortened the code to a single line by using the short-hand function syntax.\\n\\n<\/p>\n<h2>Going further with the Dart language<\/h2>\n<p>\\n\\nSo, that is just the basics of Dart.\u00a0 I wanted to show you how to get started really quickly, but I am sure there is more you will want to learn about Dart.\\n\\nWe can of course do much more with Dart, especially when building web applications.\u00a0 There is a Dart Web UI library which can be used to do templating and data binding so we can simplify our Dart code even further.\\n\\nThe language itself is pretty simple.\u00a0 <strong>Most C# and Java developers, as well as JavaScript developers, should be able to read and understand Dart code without any assistance.<\/strong>\u00a0 <a href=\"http:\/\/www.dartlang.org\/docs\/dart-up-and-running\/contents\/ch02.html\">But here is a link to an overview of the language<\/a>.\\n\\nIf you are looking for a more in-depth coverage of the Dart language and want to see how to build a real application with Dart, check out my <a href=\"https:\/\/simpleprogrammer.com\/introduction-building-web-applications-dart\" target=\"_blank\">Introduction To Building Web Applications With Dart course on Pluralsight<\/a>, where I go over the entire language and guide you through building a real application, as well as cover some of the more advanced features like mixins and isolates.\\n\\nAlso, I could only find two books on the Dart Language.\\n\\n<\/p>\n<ul>\\n    <\/p>\n<li><a href=\"http:\/\/www.amazon.com\/gp\/product\/1617290866\/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1617290866&amp;linkCode=as2&amp;tag=makithecompsi-20\">Dart in Action by Chris Buckett<\/a><\/li>\n<p>\\n    <\/p>\n<li><a href=\"http:\/\/www.amazon.com\/gp\/product\/1449330894\/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1449330894&amp;linkCode=as2&amp;tag=makithecompsi-20&quot;\">Dart: Up and Running by Kathy Walrath and Seth Ladd<\/a><\/li>\n<p>\\n<\/ul>\n<p>\\n\\nI don\u2019t know if Dart will end up replacing JavaScript, but I do think Dart has the potential.\u00a0 It really is an awesome language that is fun to develop in.\\n\\nThat is strong praise coming from me, since I really tend to dislike dynamic languages.\u00a0 The creators of Dart have really done a good job of creating a language that is succinct, fast, easy to work with and has the best advantages of strongly typed languages with all the flexibility of dynamic languages like JavaScript.\\n\\n<\/p>\n<h2>Get Up and CODE and YouTube Videos<\/h2>\n<p>\\n\\nFor those of you who frequent my blog and are looking for my latest <a href=\"http:\/\/getupandcode.com\/\" target=\"_blank\">Get Up and CODE podcast<\/a> episode and YouTube video for the week, I have a bit of an announcement.\\n\\nI am going to start posting these blog posts every Monday.\\n\\nThe YouTube videos will be going up every Wednesday.\\n\\nThe <a href=\"http:\/\/getupandcode.com\/\" target=\"_blank\">Get Up and CODE podcast<\/a> will be coming on every Friday.\\n\\nWhen my new website design is done, you\u2019ll be able to find the latest episodes of each on the side bar, so I\u2019ll stop including them in each weekly post.\\n\\nBut here is last week <a href=\"http:\/\/getupandcode.com\/\" target=\"_blank\">Get Up and CODE<\/a>, where Iris and I talk about basic weight training.\\n\\n<strong>Get Up And Code 006: Basic Weight Training<\/strong>\\n\\n<iframe loading=\"lazy\" src=\"http:\/\/media.signalleaf.com\/player\/Get-Up-And-CODE\/52e465ab5f38960200000018\/\" width=\"500\" height=\"70\" frameborder=\"0\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was a little skeptical of the Dart language when Google first announced it.\\n\\nWhen I looked at the syntax of the language I thought that it didn\u2019t really seem to offer anything new.\\n\\nWhy create another language that is not very different than what we already have?\\n\\nHow is this actually much better than JavaScript?\\n\\nBut after having&#8230;<\/p>\n","protected":false},"author":2,"featured_media":2248,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[45348,235673,162228491,1934,264,2260],"tags":[],"class_list":["post-2255","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-frameworks","category-ides","category-javascript","category-language","category-learning","category-web-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Getting Started With Google\u2019s Dart Language<\/title>\n<meta name=\"description\" content=\"Want to get started with the Dart Language? In this quick tutorial, I show you how to get setup and create your first Dart web application.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/simpleprogrammer.com\/dart-language\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting Started With Google\u2019s Dart Language\" \/>\n<meta property=\"og:description\" content=\"Want to get started with the Dart Language? In this quick tutorial, I show you how to get setup and create your first Dart web application.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/simpleprogrammer.com\/dart-language\/\" \/>\n<meta property=\"og:site_name\" content=\"Simple Programmer\" \/>\n<meta property=\"article:published_time\" content=\"2013-06-17T13:30:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-28T18:39:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2013\/06\/2013-06-16_11-12-28_thumb.png\" \/>\n\t<meta property=\"og:image:width\" content=\"498\" \/>\n\t<meta property=\"og:image:height\" content=\"282\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"John Sonmez\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"John Sonmez\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/dart-language\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/dart-language\\\/\"},\"author\":{\"name\":\"John Sonmez\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/#\\\/schema\\\/person\\\/1abc70edfb189184827740310672de67\"},\"headline\":\"Getting Started With Google&rsquo;s Dart Language\",\"datePublished\":\"2013-06-17T13:30:56+00:00\",\"dateModified\":\"2018-01-28T18:39:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/dart-language\\\/\"},\"wordCount\":1541,\"commentCount\":12,\"image\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/dart-language\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/simpleprogrammer.com\\\/wp-content\\\/uploads\\\/2013\\\/06\\\/2013-06-16_11-12-28_thumb.png\",\"articleSection\":[\"Frameworks\",\"IDEs\",\"JavaScript\",\"Language\",\"Learning\",\"Web Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/simpleprogrammer.com\\\/dart-language\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/dart-language\\\/\",\"url\":\"https:\\\/\\\/simpleprogrammer.com\\\/dart-language\\\/\",\"name\":\"Getting Started With Google\u2019s Dart Language\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/dart-language\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/dart-language\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/simpleprogrammer.com\\\/wp-content\\\/uploads\\\/2013\\\/06\\\/2013-06-16_11-12-28_thumb.png\",\"datePublished\":\"2013-06-17T13:30:56+00:00\",\"dateModified\":\"2018-01-28T18:39:32+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/#\\\/schema\\\/person\\\/1abc70edfb189184827740310672de67\"},\"description\":\"Want to get started with the Dart Language? In this quick tutorial, I show you how to get setup and create your first Dart web application.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/dart-language\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/simpleprogrammer.com\\\/dart-language\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/dart-language\\\/#primaryimage\",\"url\":\"https:\\\/\\\/simpleprogrammer.com\\\/wp-content\\\/uploads\\\/2013\\\/06\\\/2013-06-16_11-12-28_thumb.png\",\"contentUrl\":\"https:\\\/\\\/simpleprogrammer.com\\\/wp-content\\\/uploads\\\/2013\\\/06\\\/2013-06-16_11-12-28_thumb.png\",\"width\":498,\"height\":282},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/dart-language\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/simpleprogrammer.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting Started With Google&rsquo;s Dart Language\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/#website\",\"url\":\"https:\\\/\\\/simpleprogrammer.com\\\/\",\"name\":\"Simple Programmer\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/simpleprogrammer.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/#\\\/schema\\\/person\\\/1abc70edfb189184827740310672de67\",\"name\":\"John Sonmez\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dc2f18dfa76e017566ce607de002d7abe4acfd5ec19a6db82c180b00867b8d94?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dc2f18dfa76e017566ce607de002d7abe4acfd5ec19a6db82c180b00867b8d94?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dc2f18dfa76e017566ce607de002d7abe4acfd5ec19a6db82c180b00867b8d94?s=96&d=mm&r=g\",\"caption\":\"John Sonmez\"},\"url\":\"https:\\\/\\\/simpleprogrammer.com\\\/author\\\/jsonmez\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Getting Started With Google\u2019s Dart Language","description":"Want to get started with the Dart Language? In this quick tutorial, I show you how to get setup and create your first Dart web application.","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:\/\/simpleprogrammer.com\/dart-language\/","og_locale":"en_US","og_type":"article","og_title":"Getting Started With Google\u2019s Dart Language","og_description":"Want to get started with the Dart Language? In this quick tutorial, I show you how to get setup and create your first Dart web application.","og_url":"https:\/\/simpleprogrammer.com\/dart-language\/","og_site_name":"Simple Programmer","article_published_time":"2013-06-17T13:30:56+00:00","article_modified_time":"2018-01-28T18:39:32+00:00","og_image":[{"width":498,"height":282,"url":"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2013\/06\/2013-06-16_11-12-28_thumb.png","type":"image\/png"}],"author":"John Sonmez","twitter_card":"summary_large_image","twitter_misc":{"Written by":"John Sonmez","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/simpleprogrammer.com\/dart-language\/#article","isPartOf":{"@id":"https:\/\/simpleprogrammer.com\/dart-language\/"},"author":{"name":"John Sonmez","@id":"https:\/\/simpleprogrammer.com\/#\/schema\/person\/1abc70edfb189184827740310672de67"},"headline":"Getting Started With Google&rsquo;s Dart Language","datePublished":"2013-06-17T13:30:56+00:00","dateModified":"2018-01-28T18:39:32+00:00","mainEntityOfPage":{"@id":"https:\/\/simpleprogrammer.com\/dart-language\/"},"wordCount":1541,"commentCount":12,"image":{"@id":"https:\/\/simpleprogrammer.com\/dart-language\/#primaryimage"},"thumbnailUrl":"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2013\/06\/2013-06-16_11-12-28_thumb.png","articleSection":["Frameworks","IDEs","JavaScript","Language","Learning","Web Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/simpleprogrammer.com\/dart-language\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/simpleprogrammer.com\/dart-language\/","url":"https:\/\/simpleprogrammer.com\/dart-language\/","name":"Getting Started With Google\u2019s Dart Language","isPartOf":{"@id":"https:\/\/simpleprogrammer.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/simpleprogrammer.com\/dart-language\/#primaryimage"},"image":{"@id":"https:\/\/simpleprogrammer.com\/dart-language\/#primaryimage"},"thumbnailUrl":"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2013\/06\/2013-06-16_11-12-28_thumb.png","datePublished":"2013-06-17T13:30:56+00:00","dateModified":"2018-01-28T18:39:32+00:00","author":{"@id":"https:\/\/simpleprogrammer.com\/#\/schema\/person\/1abc70edfb189184827740310672de67"},"description":"Want to get started with the Dart Language? In this quick tutorial, I show you how to get setup and create your first Dart web application.","breadcrumb":{"@id":"https:\/\/simpleprogrammer.com\/dart-language\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/simpleprogrammer.com\/dart-language\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/simpleprogrammer.com\/dart-language\/#primaryimage","url":"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2013\/06\/2013-06-16_11-12-28_thumb.png","contentUrl":"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2013\/06\/2013-06-16_11-12-28_thumb.png","width":498,"height":282},{"@type":"BreadcrumbList","@id":"https:\/\/simpleprogrammer.com\/dart-language\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/simpleprogrammer.com\/"},{"@type":"ListItem","position":2,"name":"Getting Started With Google&rsquo;s Dart Language"}]},{"@type":"WebSite","@id":"https:\/\/simpleprogrammer.com\/#website","url":"https:\/\/simpleprogrammer.com\/","name":"Simple Programmer","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/simpleprogrammer.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/simpleprogrammer.com\/#\/schema\/person\/1abc70edfb189184827740310672de67","name":"John Sonmez","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/dc2f18dfa76e017566ce607de002d7abe4acfd5ec19a6db82c180b00867b8d94?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/dc2f18dfa76e017566ce607de002d7abe4acfd5ec19a6db82c180b00867b8d94?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dc2f18dfa76e017566ce607de002d7abe4acfd5ec19a6db82c180b00867b8d94?s=96&d=mm&r=g","caption":"John Sonmez"},"url":"https:\/\/simpleprogrammer.com\/author\/jsonmez\/"}]}},"_links":{"self":[{"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/posts\/2255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/comments?post=2255"}],"version-history":[{"count":0,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/posts\/2255\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/media\/2248"}],"wp:attachment":[{"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/media?parent=2255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/categories?post=2255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/tags?post=2255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}