onStyleSheetChanged property

Stream<StyleSheetId> get onStyleSheetChanged

Fired whenever a stylesheet is changed as a result of the client operation.

Implementation

Stream<StyleSheetId> get onStyleSheetChanged => _client.onEvent
    .where((event) => event.name == 'CSS.styleSheetChanged')
    .map((event) =>
        StyleSheetId.fromJson(event.parameters['styleSheetId'] as String));