removeObject(id) {
    const { type } = this._graphics.getObject(id);

    return this.execute(commands.REMOVE_OBJECT, id, getObjectType(type));
  }
Remove an object or group by id
@param {number} id - object id
@returns {Promise}
@example
imageEditor.removeObject(id);