toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (error != null) 'error': error!,
      if (suggestArticlesResponse != null)
        'suggestArticlesResponse': suggestArticlesResponse!,
      if (suggestFaqAnswersResponse != null)
        'suggestFaqAnswersResponse': suggestFaqAnswersResponse!,
      if (suggestSmartRepliesResponse != null)
        'suggestSmartRepliesResponse': suggestSmartRepliesResponse!,
    };