fromJson static method
Implementation
static PageBlockCaption? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return PageBlockCaption(
text: RichText.fromJson(tdMapFromJson(json['text'])),
credit: RichText.fromJson(tdMapFromJson(json['credit'])),
);
}