Implementation
@visibleForTesting
RT_GridLabelPosition get coreValue => switch (this) {
geographic => RT_GridLabelPosition.RT_GridLabelPosition_geographic,
bottomLeft => RT_GridLabelPosition.RT_GridLabelPosition_bottomLeft,
bottomRight => RT_GridLabelPosition.RT_GridLabelPosition_bottomRight,
topLeft => RT_GridLabelPosition.RT_GridLabelPosition_topLeft,
topRight => RT_GridLabelPosition.RT_GridLabelPosition_topRight,
center => RT_GridLabelPosition.RT_GridLabelPosition_center,
allSides => RT_GridLabelPosition.RT_GridLabelPosition_allSides,
};