How to use typedef inside a class with Generics? #4151
Labels
request
Requests to resolve a particular developer problem
state-duplicate
This issue or pull request already exists
How to use typedef with generics ?
How to use typedef inside a class ?
I have the following class.
To avoid repeating
Bar<T>
I want to usetypedef
But this is obviously not working with the current Dart. Is it supported ? I know I create an alias of the Bar to a shorter string but this does not remove the generic, the problem is in reality, the generic has several nested class like
Foo<Bar<Baz<Foz<Boz<T>>>>
The text was updated successfully, but these errors were encountered: