has method

  1. @override
Future<bool> has(
  1. String topic,
  2. String message
)
override

Implementation

@override
Future<bool> has(topic, message) async {
  _isInitialized();
  final messages = get(topic);
  final hash = await hashMessage(message);
  return messages[hash] != null;
}