Understanding Operators and Expressions

In this chapter we will see what operators and expressions are and the different types we can use in our Dart applications. At the end of the chapter we’ll review how to create your own operators.

An Introduction to Dart Operators

Operators are an essential part of any programming language. With them, you can do arithmetic operations with numbers, assign values between variables, and make decisions in a particular moment so that your program will execute one or another block of instructions.

Dart is an object-oriented language; everything in Dart is an object, so the operators are aliases (shortcuts) ...

Get Web Programming with Dart now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.