concept dynamic in category dart

This is an excerpt from Manning's book Dart in Action.
You can specify the return type of the function by prefixing the function name with the type you’re expecting to return. Dart’s optional typing means if you don’t explicitly specify a return type, then you’re returning a dynamic type, as in
We’ll explore the base Object class from which all other classes and types inherit, including strings, numbers, Boolean values, null, and your own custom classes. Object provides some standard methods and properties that you can override in your own classes, such as the toString() method. We’ll also look at the dynamic type, which Dart uses to enable optional typing.
In the next chapter, we’ll look at how you override the default functionality of the equals and other operators, but first we need to examine the dynamic type. dynamic is the type Dart uses when you don’t specify any type information. Every instance of a variable has one, and it’s accessible explicitly from the Object class’s dynamic property.