onRuleSetUpdated property
Upsert. Currently, it is only emitted when a rule set added.
Implementation
Stream<RuleSet> get onRuleSetUpdated => _client.onEvent
.where((event) => event.name == 'Preload.ruleSetUpdated')
.map((event) => RuleSet.fromJson(
event.parameters['ruleSet'] as Map<String, dynamic>));