translate method

String translate(
  1. String? text, {
  2. BuildContext? context,
  3. Map<String, String?>? arguments,
})

Implementation

String translate(String? text, {BuildContext? context, Map<String, String?>? arguments}) {
  return Translations.of(context ?? this.context)?.text(text, arguments) ?? "";
}