copyWith method

SpaceSettings copyWith({
  1. bool? routeOverrideEnabled,
  2. SpaceSettingsEditor? editor,
  3. String? spaceKey,
  4. 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,
  );
}