fromJson static method
Inherited by: InputPageBlockAnchor InputPageBlockAnimation InputPageBlockAudio InputPageBlockBlockQuote InputPageBlockButtonRow InputPageBlockCollage InputPageBlockDetails InputPageBlockDivider InputPageBlockDocument InputPageBlockExpandableBlockQuote InputPageBlockFooter InputPageBlockList InputPageBlockMap InputPageBlockMathematicalExpression InputPageBlockParagraph InputPageBlockPhoto InputPageBlockPreformatted InputPageBlockPullQuote InputPageBlockSectionHeading InputPageBlockSlideshow InputPageBlockTable InputPageBlockThinking InputPageBlockVideo InputPageBlockVoiceNote
Implementation
static InputPageBlockPullQuote? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return InputPageBlockPullQuote(
text: RichText.fromJson(json['text'] as Map<String, dynamic>?)!,
credit: RichText.fromJson(json['credit'] as Map<String, dynamic>?),
);
}