|Dart 1.8 Adds Support for App Engine and enums|
|Written by Kay Ewbank|
|Friday, 05 December 2014|
Google Dart has been updated to offer experimental support for enums, and Google has added the ability to run your Dart server-side apps on Google App Engine’s Manage VMs.
The latest release, 1.8, has added experimental enum support, allowing you to write code such as:
In addition it introduces improvements to the collection, core and io libraries. In the collection library, SplayTree is added to the toSet() method, and in dart:convert a JsonUtf8Encoder class has been added.
The experimental enum support has been one of the main requests from Dart programmers, though the current version has been described as limited, as it’s not possible to assign any values and there’s only an auto-incremented index that always starts from zero.
The core library now has new properties and constructors for RangeError; a new IndexError class - used by the RangeError.index constructor; and optional start and end arguments for the String.fromCharCodes constructor. The developers have also added support for the ALPN extension of the TLS secure networking protocol for Client and Server to the io library.
To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin, or sign up for our weekly newsletter.
or email your comment to: email@example.com
|Last Updated ( Friday, 05 December 2014 )|