dynamic make(Type type)

Creates a new instance of the provided type, resolving the constructor parameters automatically.

class A {}

class B {
  B(A a) {
    print(a); // Instance of 'A'
  }
}

Source

dynamic/*=T*/ make/*<T>*/(Type/* extends T*/ type);