copyWith method
SpaceSettings
copyWith({
- bool? routeOverrideEnabled,
- SpaceSettingsEditor? editor,
- String? spaceKey,
- GenericLinks? links,
Implementation
SpaceSettings copyWith(
{bool? routeOverrideEnabled,
SpaceSettingsEditor? editor,
String? spaceKey,
GenericLinks? links}) {
return SpaceSettings(
routeOverrideEnabled: routeOverrideEnabled ?? this.routeOverrideEnabled,
editor: editor ?? this.editor,
spaceKey: spaceKey ?? this.spaceKey,
links: links ?? this.links,
);
}