of static method

Implementation

static LanguageInheritedNotifier of(BuildContext context) {
  final response = maybeOf(context);
  assert(response != null, 'LanguageNotifier not found in context');
  return response!;
}