of static method
Returns the LitLocalizations found in the BuildContext.
This will be required to store one LitLocalizations instance exclusively in runtime. In order to retrieve a localized string use the getLocalizedValue method.
Implementation
static LitLocalizations? of(BuildContext context) {
return Localizations.of<LitLocalizations>(context, LitLocalizations);
}