Creating an argument constructor of ChartShaderDetails class.
ChartShaderDetails(this.outerRect, this.innerRect, this.renderType);