of static method

The client, WITHOUT creating a rebuild dependency. For imperative calls (setLanguage, refresh, applyPending).

Implementation

static LexioLabClient of(BuildContext context) {
  final LexioLabClient? client = maybeOf(context);
  assert(client != null, 'No LexioLabScope above this widget.');
  return client!;
}