async sync(method = "READ", model, options = {}) {
    if (this._uri) {
      options.uri = this._uri;
    }

    if (this.crossOrigin === true) {
      options.crossDomain = true;
    }
    if (!options.xhrFields) {
      options.xhrFields = {
        withCredentials: true
      };
    }

    return await sync(method, model, options);
  }
/**
   * sync - Sync model data to bound REST call
   */
Sync model data to bound REST call
Sync model data to bound REST call
async sync(method = "READ", model, options = {}) {
    if (this._uri) {
      options.uri = this._uri;
    }
    if (this.crossOrigin === true) {
      options.crossDomain = true;
    }
    if (!options.xhrFields) {
      options.xhrFields = {
        withCredentials: true
      };
    }
    return await sync(method, model, options);
  }
async sync ( method = "READ" , model , options = { } ) { if ( this . _uri ) { options . uri = this . _uri ; } if ( this . crossOrigin === true ) { options . crossDomain = true ; } if ( ! options . xhrFields ) { options . xhrFields = { withCredentials : true } ; } return await sync ( method , model , options ) ; }
sync - Sync model data to bound REST call
sync - Sync model data to bound REST call