RichTextStrikethrough.fromJson constructor

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

Parse from a json

Implementation

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