O'Reilly logo

Web Programming with Dart by Patricia Juberias, Moises Belchin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 12

image

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) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required