of static method

Retrieves the ProIconPreference from the provided context. Throws an error if not found.

Implementation

static FastIconHelper of(BuildContext context) {
  final FastIconHelper? result = maybeOf(context);
  assert(result != null, 'No FastIconHelper found in context');

  return result!;
}