this.frames = oneOrMoreFramesAsProperties.map(Keyframe.createFromProperties); ?