Dart for Java Devs #1by@roboboy

Dart for Java Devs #1

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

In Dart, you can define code outside of classes. Variables, functions, getters, and setters can all live outside of class. Dart doesn't have keywords for public, private, or protected. Dart uses two-character indentation by convention instead of four. Dart supports single or double quotes when specifying strings. To mark a Dart identifier as private to its library, start its name with an underscore. If the expression is an identifier, skip the braces. Shorten one-line functions or methods using fat arrow notation.

Company Mentioned

Mention Thumbnail
featured image - Dart for Java Devs #1
Kartikey Rai HackerNoon profile picture

@roboboy

Kartikey Rai

Hello


Receive Stories from @roboboy

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!