of static method
Implementation
static ConfirmAlertLocalizations of(BuildContext context) {
final instance = ConfirmAlertLocalizations.maybeOf(context);
assert(
instance != null,
'No instance of ConfirmAlertLocalizations present in the widget tree. Did you add ConfirmAlertLocalizations.delegate in localizationsDelegates?',
);
return instance!;
}