SpellingCorrection.fromJson constructor

SpellingCorrection.fromJson(
  1. Map json_
)

Implementation

SpellingCorrection.fromJson(core.Map json_)
    : this(
        corrected: json_.containsKey('corrected')
            ? json_['corrected'] as core.bool
            : null,
        correctedHtml: json_.containsKey('correctedHtml')
            ? json_['correctedHtml'] as core.String
            : null,
        correctedText: json_.containsKey('correctedText')
            ? json_['correctedText'] as core.String
            : null,
      );