copyWith method

MainPageState copyWith({
  1. AppPage? currentPage,
})

Implementation

MainPageState copyWith({final AppPage? currentPage}) =>
    MainPageState(currentPage: currentPage ?? this.currentPage);