of static method

Locales? of(
  1. BuildContext context
)

Implementation

static Locales? of(BuildContext context) {
  return Localizations.of<Locales>(context, Locales);
}