PageBlockCaption.fromJson constructor
Parse from a json
Implementation
factory PageBlockCaption.fromJson(Map<String, dynamic> json) =>
PageBlockCaption(
text: RichText.fromJson(json['text']),
credit: RichText.fromJson(json['credit']),
);