Returns the nearest ToastProvider's context value.
Falls back to a no-op implementation when called outside a ToastProvider, so it is safe to use in unit tests without a provider wrapper.
ToastProvider
Returns the nearest ToastProvider's context value.
Falls back to a no-op implementation when called outside a
ToastProvider, so it is safe to use in unit tests without a provider wrapper.