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(json['text'] as Map<String, dynamic>?)!,
  );
}