callConstructor abstract method

dynamic callConstructor(
  1. Object constr,
  2. List<Object?>? arguments
)

Use JS utils to call a constructor of a class.

Note that null in dart is not the same as undefined/ missing in js.

Implementation

dynamic callConstructor(final Object constr, final List<Object?>? arguments);