These docs are for an old release. Info on upgrading to v6
edit doc

Event::setExtendedProp

Modifies a single property in an Event Object’s extendedProps hash.

event.setExtendedProp( name, value )