open-source general-purpose programming language. It is originally developed by Google and later approved as a standard by ECMA.
Dart
a new programming language
meant for the server as well as the browser
Dart
a transpiler that generates
JavaScript equivalent of a Dart Script
-dart2js
introduced by google, the dart sdk ship with its dart compiler?
Dart VM
what is dart
object-oriented language with C-style syntax which can optionally trans compile into JavaScript.
dart supports a varied range of programming aids like
Dart can be extensively used to
single-page application
what is single-page application
main() function
print()
predefined method that prints specified string or value
Dart Command-Line Options
enables both assertions and type checks
-c
-h
displays help
–version
shows file version VM information
–packages < path >
path package resolution configuration file
-p < path>
where to find imported libraries
names given to elements in a program like variables,
functions
Identifiers
The rules for identifiers are
object orientation
a real-time representation of any entity
Object
Grady Brooch,
every object must have three features
State
− described by the attributes of an object
Behavior
− describes how the object will act
identity
a unique value that distinguishes an object from a set of similar such
objects