tr function Null safety

String tr(
  1. BuildContext context,
  2. String key
)

Implementation

String tr(BuildContext context,String key) {
  return SetLocalization.of(context)!.getTranslateValue(key);
}