PageBlockPreformatted.fromJson constructor

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

Parse from a json

Implementation

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