messageIsRecorded method

  1. @override
bool messageIsRecorded(
  1. String topic,
  2. String message
)
override

Implementation

@override
bool messageIsRecorded(String topic, String message) {
  final String hash = hashMessage(message);
  return data.containsKey(topic) && data[topic]!.containsKey(hash);
}