toJson method

Map<String, dynamic> toJson()

Implementation

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