setLifecycleEventsEnabled method

Future<void> setLifecycleEventsEnabled(
  1. bool enabled
)

Controls whether page will emit lifecycle events. enabled If true, starts emitting lifecycle events.

Implementation

Future<void> setLifecycleEventsEnabled(bool enabled) async {
  await _client.send('Page.setLifecycleEventsEnabled', {'enabled': enabled});
}