newInstance static method

dynamic newInstance(
  1. String className
)

Create a new instance of the specified class name.

Implementation

static newInstance(String className)
  => newInstanceByMirror(forName(className));