RenderingType$cast function
Implementation
RenderingType? RenderingType$cast(value) {
if (value == RenderingType.RASTER) return RenderingType.RASTER;
if (value == RenderingType.UNINITIALIZED) return RenderingType.UNINITIALIZED;
if (value == RenderingType.VECTOR) return RenderingType.VECTOR;
return null;
}