of static method

Implementation

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