isConstructor property

bool get isConstructor

Tests whether an object can be called as a constructor.

Implementation

bool get isConstructor {
  return JSObjectIsConstructor(context.ref, _ref);
}