onDialogClosed property

Stream<String> onDialogClosed

Triggered when a dialog is closed, either by user action, JS abort, or a command below.

Implementation

Stream<String> get onDialogClosed => _client.onEvent
    .where((event) => event.name == 'FedCm.dialogClosed')
    .map((event) => event.parameters['dialogId'] as String);