Dart Cascade notation (..)

In this tutorial you will learn about the Dart Cascade notation (..) and its application with practical example.

Dart Cascade notation(..) Operator

Cascades (..) allow you to perform a sequence of operations on the same object. The Cascades notation(..) is similar to method chaining that saves you number of steps and need of temporary variable.

Example:-

Output:-

dart_cascade_notation_operator

Recommended:-  Dart Assert Statement
In this tutorial we have learn about the Dart Cascade notation (..) and its application with practical example. I hope you will like this tutorial.