MetaGetBuilder constructor

MetaGetBuilder(
  1. Topic parent
)

Implementation

MetaGetBuilder(Topic parent) {
  _tinodeService = GetIt.I.get<TinodeService>();
  _loggerService = GetIt.I.get<LoggerService>();

  topic = parent;
  var me = _tinodeService.getTopic(topic_names.TOPIC_ME) as TopicMe?;

  if (me != null) {
    if (parent.name != null) {
      contact = me.getContact(parent.name!);
    }
  }
}