hasInternalSlot method

bool hasInternalSlot(
  1. String name
)

Check if an internal slot exists

Implementation

bool hasInternalSlot(String name) {
  return _internalSlots.containsKey(name);
}