of static method

Implementation

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