fromJson static method

RichTextBold? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static RichTextBold? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return RichTextBold(text: RichText.fromJson(tdMapFromJson(json['text'])));
}