RichTextUrl.fromJson constructor

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

Parse from a json

Implementation

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