QueryInterpretation.fromJson constructor

QueryInterpretation.fromJson(
  1. Map json_
)

Implementation

QueryInterpretation.fromJson(core.Map json_)
    : this(
        interpretationType: json_.containsKey('interpretationType')
            ? json_['interpretationType'] as core.String
            : null,
        interpretedQuery: json_.containsKey('interpretedQuery')
            ? json_['interpretedQuery'] as core.String
            : null,
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
      );