of static method
Retrieves the BsLocalizations instance from the given BuildContext.
Returns null if the delegate is not registered in the widget tree.
Implementation
static BsLocalizations? of(BuildContext context) {
return Localizations.of<BsLocalizations>(context, BsLocalizations);
}