contract/lib/ResponseModel.js
/**
     * Deserialize a state data to Response Model
     * @param {buffer} data to form back into the object
     */
Deserialize a state data to Response Model
@param {buffer} data to form back into the object
Deserialize a state data to Response Model @param { buffer } data to form back into the object
static deserialize(dataToDeserialize) {
        logWrite(`[deserialize] data = ${dataToDeserialize}`);
        let deserializeResult = BeanState.deserializeClass(dataToDeserialize, ResponseModel);
        let responseModel = ResponseModel.createResponseModel(deserializeResult);
        return responseModel;
    }
static deserialize ( dataToDeserialize ) { logWrite ( ` ${ dataToDeserialize } ` ) ; let deserializeResult = BeanState . deserializeClass ( dataToDeserialize , ResponseModel ) ; let responseModel = ResponseModel . createResponseModel ( deserializeResult ) ; return responseModel ; }
Deserialize a state data to Response Model
 @param {buffer} data to form back into the object
Deserialize a state data to Response Model @param { buffer } data to form back into the object