set method

  1. @override
void set(
  1. String topic,
  2. String id
)
override

Implementation

@override
void set(String topic, String id) {
  final ids = get(topic);
  if (exists(topic, id)) return;
  _map[topic] = [...ids, id];
}