fromJson static method
Inherited by: PageBlockAnchor PageBlockAnimation PageBlockAudio PageBlockAuthorDate PageBlockBlockQuote PageBlockButtonRow PageBlockChatLink PageBlockCollage PageBlockCover PageBlockDetails PageBlockDivider PageBlockDocument PageBlockEmbeddedPost PageBlockEmbedded PageBlockExpandableBlockQuote PageBlockFooter PageBlockHeader PageBlockKicker PageBlockList PageBlockMap PageBlockMathematicalExpression PageBlockParagraph PageBlockPhoto PageBlockPreformatted PageBlockPullQuote PageBlockRelatedArticles PageBlockSectionHeading PageBlockSlideshow PageBlockSubheader PageBlockSubtitle PageBlockTable PageBlockThinking PageBlockTitle PageBlockUnsupported PageBlockVideo PageBlockVoiceNote
Implementation
static PageBlockHeader? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return PageBlockHeader(
header: RichText.fromJson(json['header'] as Map<String, dynamic>?)!,
);
}