toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (userInput != null) 'userInput': userInput!,
      if (virtualAgentOutput != null)
        'virtualAgentOutput': virtualAgentOutput!,
    };