I wonder if there is the possibility to dynamically extend a class, I'm new to Dart and I'm looking for something like this (please forget about the ${whatever} is just for illustration purposes):

```
class MyClass extends ${otherClass}

```

and let's say I'm trying to instantiate it from another function:

```
var myDinamic = new myClass<otherClass>

```

Hope this makes sense and thanks in advance!