Richable.fromJson constructor

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

Creates a Richable object from json

Can create a EmbedImage, EmbedParagraph or another Embed depending on type from json.

Implementation

factory Richable.fromJson(Map<String, dynamic> json) =>
    _$RichableFromJson(json);