Stream<RuleSetId> get onRuleSetRemoved => _client.onEvent .where((event) => event.name == 'Preload.ruleSetRemoved') .map((event) => RuleSetId.fromJson(event.parameters['id'] as String));