of static method

Implementation

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