toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (answerRecord != null) 'answerRecord': answerRecord!,
      if (confidence != null) 'confidence': confidence!,
      if (metadata != null) 'metadata': metadata!,
      if (snippets != null) 'snippets': snippets!,
      if (title != null) 'title': title!,
      if (uri != null) 'uri': uri!,
    };