RichTextEmailAddress.fromJson constructor

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

Parse from a json

Implementation

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