static load(model) {
            if (model.model !== 'Layer') {
                throw new RangeError('the current model is not a Layer model');
            }
            return new Layer(model);
        }
@private
Creates a new Layer with the given model.
@param {object} model
@return {Layer}