MainEvent.changeIndex constructor

const MainEvent.changeIndex({
  1. required int index,
})

Implementation

const factory MainEvent.changeIndex(
    {required int index}) = ChangeIndex;