of static method

Implementation

static GiphyGetUILocalizations of(BuildContext context) {
  final l = Localizations.of<GiphyGetUILocalizations>(
    context,
    GiphyGetUILocalizations,
  );

  if (l != null) {
    return l;
  }

  final defaultLocalizations = localizations[kDefaultLocale.languageCode]!;
  return GiphyGetUILocalizations(kDefaultLocale, defaultLocalizations);
}