toSectionImageAlignment function
Implementation
SectionImageAlignment toSectionImageAlignment(int? index) {
switch (index) {
case 0:
return SectionImageAlignment.left;
case 1:
return SectionImageAlignment.center;
case 2:
return SectionImageAlignment.right;
}
return SectionImageAlignment.unknown;
}