toJson method

Map<String, dynamic> toJson()

Implementation

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