dynamic hasProperty(_JSObjectBase o, name)

Source

static hasProperty(_JSObjectBase o, name) => o._hasProperty(name);