onDiagnostic property
Called when the hosted checkout emits a runtime diagnostic.
This covers malformed hosted messages, blocked unsafe navigations, WebView resource failures, and JavaScript console warnings/errors from the hosted page.
Implementation
final void Function(CrossmintCheckoutDiagnostic diagnostic)? onDiagnostic;