bodyPattern property

Map<String, dynamic> Function(String originalText, Locale translateTo) bodyPattern
final

The pattern that will be sended to make the request, originalText in this case is the text that will be translated translateTo is the language defined in the parameter above or the detected phone language, in case automaticDetection is set to true

Implementation

final Map<String,dynamic> Function(String originalText, Locale translateTo) bodyPattern;