toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (allowedInConversation != null)
    'allowedInConversation': allowedInConversation!,
  if (catalog != null) 'catalog': catalog!,
  if (exampleValues != null) 'exampleValues': exampleValues!,
  if (facet != null) 'facet': facet!,
  if (finalQuestion != null) 'finalQuestion': finalQuestion!,
  if (frequency != null) 'frequency': frequency!,
  if (generatedQuestion != null) 'generatedQuestion': generatedQuestion!,
};