copyWith method
ContentExpandable
copyWith({
- String? childTypes,
- String? container,
- String? metadata,
- String? operations,
- String? children,
- String? restrictions,
- String? history,
- String? ancestors,
- String? body,
- String? version,
- String? descendants,
- String? space,
- String? extensions,
- String? schedulePublishDate,
- String? schedulePublishInfo,
- String? macroRenderedOutput,
Implementation
ContentExpandable copyWith(
{String? childTypes,
String? container,
String? metadata,
String? operations,
String? children,
String? restrictions,
String? history,
String? ancestors,
String? body,
String? version,
String? descendants,
String? space,
String? extensions,
String? schedulePublishDate,
String? schedulePublishInfo,
String? macroRenderedOutput}) {
return ContentExpandable(
childTypes: childTypes ?? this.childTypes,
container: container ?? this.container,
metadata: metadata ?? this.metadata,
operations: operations ?? this.operations,
children: children ?? this.children,
restrictions: restrictions ?? this.restrictions,
history: history ?? this.history,
ancestors: ancestors ?? this.ancestors,
body: body ?? this.body,
version: version ?? this.version,
descendants: descendants ?? this.descendants,
space: space ?? this.space,
extensions: extensions ?? this.extensions,
schedulePublishDate: schedulePublishDate ?? this.schedulePublishDate,
schedulePublishInfo: schedulePublishInfo ?? this.schedulePublishInfo,
macroRenderedOutput: macroRenderedOutput ?? this.macroRenderedOutput,
);
}