copyWith method
AvailableContentStates
copyWith({
- List<
ContentState> ? spaceContentStates, - List<
ContentState> ? customContentStates,
Implementation
AvailableContentStates copyWith(
{List<ContentState>? spaceContentStates,
List<ContentState>? customContentStates}) {
return AvailableContentStates(
spaceContentStates: spaceContentStates ?? this.spaceContentStates,
customContentStates: customContentStates ?? this.customContentStates,
);
}