PageBlockCaption.fromJson constructor

PageBlockCaption.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

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