copyWith method
ContentStateSettings
copyWith({
- bool? contentStatesAllowed,
- bool? customContentStatesAllowed,
- bool? spaceContentStatesAllowed,
- List<
ContentState> ? spaceContentStates,
Implementation
ContentStateSettings copyWith(
{bool? contentStatesAllowed,
bool? customContentStatesAllowed,
bool? spaceContentStatesAllowed,
List<ContentState>? spaceContentStates}) {
return ContentStateSettings(
contentStatesAllowed: contentStatesAllowed ?? this.contentStatesAllowed,
customContentStatesAllowed:
customContentStatesAllowed ?? this.customContentStatesAllowed,
spaceContentStatesAllowed:
spaceContentStatesAllowed ?? this.spaceContentStatesAllowed,
spaceContentStates: spaceContentStates ?? this.spaceContentStates,
);
}