super constructor in Dart

Dart DOES NOT support multiple parent class. It can only extend from ONE parent class

So we create base class Anima. It uses a named required parameter. The brackets mean it is named, so when
others put in params, they are forced to put in the name age first. The required means this function must take in this parameter.

Since Animal has named param age, we must specify age in super()
Let’s use named param to better describe what the other constructor params mean:

Now we see that the child class Dog can sleep, which is derived from its parent.
It can also bark, which is its own functionality.

So it tells us that it goes into the parent class first. Creates the instance, and then comes back down to the child to construct.