getDefaultObject(obj = {}) {
    return {
      itemType: "image-resource",
      type: "gradient",
      colorsteps: [],
      ...obj,
    };
  }
colorsteps = [
   new ColorStep({color: 'red', percent: 0}),
   new ColorStep({color: 'red', percent: 0})
]

@param {*} obj