exists method

  1. @override
bool exists({
  1. required String topic,
  2. required int id,
})
override

Implementation

@override
bool exists({
  required String topic,
  required int id,
}) {
  _isInitialized();
  if (!records.containsKey(id)) return false;
  final record = _getRecord(id);
  return record.topic == topic;
}