onVisibleSecurityStateChanged property

Stream<VisibleSecurityState> get onVisibleSecurityStateChanged

The security state of the page changed.

Implementation

Stream<VisibleSecurityState> get onVisibleSecurityStateChanged => _client
    .onEvent
    .where((event) => event.name == 'Security.visibleSecurityStateChanged')
    .map((event) => VisibleSecurityState.fromJson(
        event.parameters['visibleSecurityState'] as Map<String, dynamic>));