toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (conversation != null) 'conversation': conversation!,
      if (conversationId != null) 'conversationId': conversationId!,
      if (parent != null) 'parent': parent!,
      if (redactionConfig != null) 'redactionConfig': redactionConfig!,
      if (speechConfig != null) 'speechConfig': speechConfig!,
    };