of static method
- BuildContext context
The state of the closest ancestor notification processor.
Can be used to invoke notification actions using the processor's onAction handler.
Implementation
static NotificationProcessorState? of(BuildContext context) =>
context.findAncestorStateOfType<NotificationProcessorState>();