copyWith method
Creates a copy of this TModel but with the given fields replaced with the new values.
For example:
var myModel2 = myModel1.copyWith(age: 42);
Implementation
@override
FastNavigationSplitViewState copyWith({
FastItem? item,
bool? isLoading,
bool? isLoaded,
}) {
return FastNavigationSplitViewState(
item: item ?? this.item,
isLoading: isLoading ?? this.isLoading,
isLoaded: isLoaded ?? this.isLoaded,
);
}