toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (analysisConfig != null) 'analysisConfig': analysisConfig!,
      if (conversationTtl != null) 'conversationTtl': conversationTtl!,
      if (createTime != null) 'createTime': createTime!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (name != null) 'name': name!,
      if (pubsubNotificationSettings != null)
        'pubsubNotificationSettings': pubsubNotificationSettings!,
      if (redactionConfig != null) 'redactionConfig': redactionConfig!,
      if (speechConfig != null) 'speechConfig': speechConfig!,
      if (updateTime != null) 'updateTime': updateTime!,
    };