StrokePosition$cast function
Implementation
StrokePosition? StrokePosition$cast(value) {
if (value == StrokePosition.CENTER) return StrokePosition.CENTER;
if (value == StrokePosition.INSIDE) return StrokePosition.INSIDE;
if (value == StrokePosition.OUTSIDE) return StrokePosition.OUTSIDE;
return null;
}