Implementation
@visibleForTesting
RT_DrawingTool get coreValue => switch (this) {
unknown => RT_DrawingTool.RT_DrawingTool_unknown,
autoCompletePolygon =>
RT_DrawingTool.RT_DrawingTool_autoCompletePolygon,
circle => RT_DrawingTool.RT_DrawingTool_circle,
downArrow => RT_DrawingTool.RT_DrawingTool_downArrow,
ellipse => RT_DrawingTool.RT_DrawingTool_ellipse,
freeHand => RT_DrawingTool.RT_DrawingTool_freeHand,
leftArrow => RT_DrawingTool.RT_DrawingTool_leftArrow,
line => RT_DrawingTool.RT_DrawingTool_line,
none => RT_DrawingTool.RT_DrawingTool_none,
point => RT_DrawingTool.RT_DrawingTool_point,
polygon => RT_DrawingTool.RT_DrawingTool_polygon,
rectangle => RT_DrawingTool.RT_DrawingTool_rectangle,
rightArrow => RT_DrawingTool.RT_DrawingTool_rightArrow,
text => RT_DrawingTool.RT_DrawingTool_text,
triangle => RT_DrawingTool.RT_DrawingTool_triangle,
upArrow => RT_DrawingTool.RT_DrawingTool_upArrow,
};