fromJson static method

PageBlockPullQuote? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static PageBlockPullQuote? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return PageBlockPullQuote(
    text: RichText.fromJson(tdMapFromJson(json['text'])),
    credit: RichText.fromJson(tdMapFromJson(json['credit'])),
  );
}