We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
For type checking on certain factory functions, it'd be very nice to allow specifying type parameters from variables, not just literals.
Example:
class A<T> { String toString() => "A<$T>"; }
A makeA(Type t) => new A<t>();
main() { var a = makeA(String); print("a = $a"); }