deleteProperty (model, key) {
    if (model.hasAttribute(key)) {
      model.attribute(key, null)
      return true
    }

    if (model.hasRelationship(key)) {
      model.relationship(key, null)
      return true
    }

    return Reflect.deleteProperty(model, key)
  }
/**
   * Proxies delete action for attributes and relationships
   * @param model
   * @param key
   * @returns {boolean}
   */
Proxies delete action for attributes and relationships
@param model
@param key
@returns {boolean}
Proxies delete action for attributes and relationships @param model @param key @returns { boolean }
deleteProperty (model, key) {
    if (model.hasAttribute(key)) {
      model.attribute(key, null)
      return true
    }
    if (model.hasRelationship(key)) {
      model.relationship(key, null)
      return true
    }
    return Reflect.deleteProperty(model, key)
  }
deleteProperty ( model , key ) { if ( model . hasAttribute ( key ) ) { model . attribute ( key , null ) return true } if ( model . hasRelationship ( key ) ) { model . relationship ( key , null ) return true } return Reflect . deleteProperty ( model , key ) }
Proxies delete action for attributes and relationships
 @param model
 @param key
 @returns {boolean}
Proxies delete action for attributes and relationships @param model @param key @returns { boolean }