toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (detectedLanguageCode != null)
        'detectedLanguageCode': detectedLanguageCode!,
      if (glossaryConfig != null) 'glossaryConfig': glossaryConfig!,
      if (model != null) 'model': model!,
      if (translatedText != null) 'translatedText': translatedText!,
    };