toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (advancedSettings != null) 'advancedSettings': advancedSettings!,
      if (conditionalCases != null) 'conditionalCases': conditionalCases!,
      if (enableGenerativeFallback != null)
        'enableGenerativeFallback': enableGenerativeFallback!,
      if (messages != null) 'messages': messages!,
      if (returnPartialResponses != null)
        'returnPartialResponses': returnPartialResponses!,
      if (setParameterActions != null)
        'setParameterActions': setParameterActions!,
      if (tag != null) 'tag': tag!,
      if (webhook != null) 'webhook': webhook!,
    };