RichTextIcon.fromJson constructor

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

Parse from a json

Implementation

factory RichTextIcon.fromJson(Map<String, dynamic> json) => RichTextIcon(
      document: Document.fromJson(json['document']),
      width: json['width'],
      height: json['height'],
    );