RichText.fromJson constructor

RichText.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory RichText.fromJson(Map<String, Object?> json) {
  return RichText(
    empty: json[r'empty'] as bool? ?? false,
    emptyAdf: json[r'emptyAdf'] as bool? ?? false,
    finalised: json[r'finalised'] as bool? ?? false,
    valueSet: json[r'valueSet'] as bool? ?? false,
  );
}