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,
        correctedText: json_.containsKey('correctedText')
            ? json_['correctedText'] as core.String
            : null,
      );