toHeightTypeLandscape function
Implementation
HeightTypeLandscape toHeightTypeLandscape(int? index) {
switch (index) {
case 0:
return HeightTypeLandscape.absoluteHeight;
case 1:
return HeightTypeLandscape.percentageHeight;
}
return HeightTypeLandscape.unknown;
}