toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (glossaries != null) 'glossaries': glossaries!,
      if (inputConfigs != null) 'inputConfigs': inputConfigs!,
      if (labels != null) 'labels': labels!,
      if (models != null) 'models': models!,
      if (outputConfig != null) 'outputConfig': outputConfig!,
      if (sourceLanguageCode != null)
        'sourceLanguageCode': sourceLanguageCode!,
      if (targetLanguageCodes != null)
        'targetLanguageCodes': targetLanguageCodes!,
    };