requiredProperties(model, exclude = [this.recycledFlagPropertyKey]) {
          return model
            ? _(model.properties)
                .map((val, key) => ({ key, ...val }))
                .filter(val => !!val.required && !exclude.includes(val.key))
                .value()
            : [];
        }
/**
         * Given a model object return an array of the model's properties which are marked as required, or an empty array on failure
         * @param {object} model Model object
         * @param {array} [exclude=[]] Optional array of keys to explicitly exclude from the result. Defaults to model recycled flag property key
         */
Given a model object return an array of the model's properties which are marked as required, or an empty array on failure
@param {object} model Model object
@param {array} [exclude=[]] Optional array of keys to explicitly exclude from the result. Defaults to model recycled flag property key
Given a model object return an array of the model ' s properties which are marked as required or an empty array on failure @param { object } model Model object @param { array } [ exclude = [] ] Optional array of keys to explicitly exclude from the result . Defaults to model recycled flag property key
requiredProperties(model, exclude = [this.recycledFlagPropertyKey]) {
          return model
            ? _(model.properties)
                .map((val, key) => ({ key, ...val }))
                .filter(val => !!val.required && !exclude.includes(val.key))
                .value()
            : [];
        }
requiredProperties ( model , exclude = [ this . recycledFlagPropertyKey ] ) { return model ? _ ( model . properties ) . map ( ( val , key ) => ( { key , ... val } ) ) . filter ( val => ! ! val . required && ! exclude . includes ( val . key ) ) . value ( ) : [ ] ; }
Given a model object return an array of the model's properties which are marked as required, or an empty array on failure
 @param {object} model Model object
 @param {array} [exclude=[]] Optional array of keys to explicitly exclude from the result.
Given a model object return an array of the model ' s properties which are marked as required or an empty array on failure @param { object } model Model object @param { array } [ exclude = [] ] Optional array of keys to explicitly exclude from the result .