SearchSpelling.fromJson constructor

SearchSpelling.fromJson(
  1. Map json_
)

Implementation

SearchSpelling.fromJson(core.Map json_)
    : this(
        correctedQuery: json_.containsKey('correctedQuery')
            ? json_['correctedQuery'] as core.String
            : null,
        htmlCorrectedQuery: json_.containsKey('htmlCorrectedQuery')
            ? json_['htmlCorrectedQuery'] as core.String
            : null,
      );