Content constructor
Content({
- String? id,
- required String type,
- required String status,
- String? title,
- Space? space,
- ContentHistory? history,
- Version? version,
- List<
Content> ? ancestors, - List<
OperationCheckResult> ? operations, - ContentChildren? children,
- ContentChildType? childTypes,
- ContentChildren? descendants,
- Container? container,
- ContentBodyValue? body,
- ContentRestrictions? restrictions,
- ContentMetadata? metadata,
- Map<
String, dynamic> ? macroRenderedOutput, - Map<
String, dynamic> ? extensions, - ContentExpandable? expandable,
- GenericLinks? links,
Implementation
Content(
{this.id,
required this.type,
required this.status,
this.title,
this.space,
this.history,
this.version,
List<Content>? ancestors,
List<OperationCheckResult>? operations,
this.children,
this.childTypes,
this.descendants,
this.container,
this.body,
this.restrictions,
this.metadata,
this.macroRenderedOutput,
this.extensions,
this.expandable,
this.links})
: ancestors = ancestors ?? [],
operations = operations ?? [];