show method

Future<int> show()

Force shows the form to modify user consent at any time.

When a user interacts with your UI element, call function to show the form so the user can update their privacy options at any time.

The Future will complete only after the dialog is dismissed, returning the result status as an int. Ensure you await the result to handle the outcome properly.

Implementation

Future<int> show() {
  return casInternalBridge.showConsentFlow(this, true);
}