getTopicAccessMode method

AccessMode? getTopicAccessMode(
  1. String topicName
)

Get access mode for the given contact

Implementation

AccessMode? getTopicAccessMode(String topicName) {
  var me = getMeTopic();
  var cont = me.getContact(topicName);
  return cont != null ? cont.acs : null;
}