of static method

EditorLang of(
  1. BuildContext context
)

Implementation

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