getContent method

ComponentContent? getContent(
  1. Page page
)

Implementation

ComponentContent? getContent(Page page) {
  if (hasContent()) {
    return page.page[content!.getReference()!] as ComponentContent?;
  }
  return null;
}