newInstanceByMirror static method

dynamic newInstanceByMirror(
  1. ClassMirror classMirror
)

Create a new instance of the specified class mirror.

Implementation

static newInstanceByMirror(ClassMirror classMirror)
  => classMirror.newInstance(const Symbol(""), []).reflectee;