copyWith method

FondeNavigationStateData copyWith({
  1. List<String>? expandedGroupIds,
  2. String? selectedItemId,
})

Implementation

FondeNavigationStateData copyWith({
  List<String>? expandedGroupIds,
  String? selectedItemId,
}) {
  return FondeNavigationStateData(
    expandedGroupIds: expandedGroupIds ?? this.expandedGroupIds,
    selectedItemId: selectedItemId ?? this.selectedItemId,
  );
}