toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (contents != null) 'contents': contents!,
  if (glossaryConfig != null) 'glossaryConfig': glossaryConfig!,
  if (labels != null) 'labels': labels!,
  if (mimeType != null) 'mimeType': mimeType!,
  if (model != null) 'model': model!,
  if (sourceLanguageCode != null) 'sourceLanguageCode': sourceLanguageCode!,
  if (targetLanguageCode != null) 'targetLanguageCode': targetLanguageCode!,
  if (transliterationConfig != null)
    'transliterationConfig': transliterationConfig!,
};