fromJson static method

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

Implementation

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

  return RichTextMathematicalExpression(
    expression: (json['expression'] as String?) ?? '',
  );
}