translate abstract method

Future<String> translate(
  1. String source,
  2. Locale locale
)

Translate a given source string to the target locale. Returns the translated string asynchronously.

Implementation

Future<String> translate(String source, Locale locale);