ContentBody constructor

ContentBody({
  1. required String value,
  2. required ContentBodyRepresentation representation,
  3. List<EmbeddedContent>? embeddedContent,
  4. WebResourceDependencies? webresource,
  5. ContentBodyMediaToken? mediaToken,
  6. ContentBodyExpandable? expandable,
  7. GenericLinks? links,
})

Implementation

ContentBody(
    {required this.value,
    required this.representation,
    List<EmbeddedContent>? embeddedContent,
    this.webresource,
    this.mediaToken,
    this.expandable,
    this.links})
    : embeddedContent = embeddedContent ?? [];