RichTextPlain.fromJson constructor

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

Parse from a json

Implementation

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