# toSectionImageAlignment function Null safety

SectionImageAlignment toSectionImageAlignment(

1. int? index

)

## 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;
    }