dismiss static method

Future<void> dismiss()

Dismiss the current flow (for continuous mode)

Note: On iOS, the flow will auto-dismiss on timeout even in continuous mode. This method is provided for manual dismissal if needed in the future.

Implementation

static Future<void> dismiss() async {
  log('ℹ️ Dismiss requested (auto-dismissal is handled by native side)');
  HostedFlowBase.closeStreams();
}