copyWith method

MenuDefCreateInitialised copyWith({
  1. MenuDefModel? menuDefModel,
  2. MenuItemModel? currentlySelected,
})

Implementation

MenuDefCreateInitialised copyWith(
    {MenuDefModel? menuDefModel, MenuItemModel? currentlySelected}) {
  return MenuDefCreateInitialised(
      menuDefModel: menuDefModel ?? this.menuDefModel,
      currentlySelected: currentlySelected);
}