RichTextBold.fromJson constructor

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

Parse from a json

Implementation

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