isMember method Null safety

bool isMember(
  1. String? topic
)

Implementation

bool isMember(String? topic) {
  return this.topic == topic;
}