object..method1()
..method2()
..property1 = value1
..property2 = value2;
class Person {
String name;
int age;
Person(this.name, this.age);
void introduceYourself() {
print("Hello, my name is $name and I'm $age years old.");
}
}
void main() {
var person = Person("Alice", 30);
// Without cascade notation
person.name = "Bob";
person.age = 25;
person.introduceYourself();
// With cascade notation
person
..name = "Charlie"
..age = 40
..introduceYourself();
}