withCred method

MetaGetBuilder withCred()

Add query parameters to fetch user's credentials. 'me' topic only

Implementation

MetaGetBuilder withCred() {
  if (topic.getType() == 'me') {
    what['cred'] = true;
  } else {
    _loggerService.error('Invalid topic type for MetaGetBuilder:withCreds ' +
        topic.getType().toString());
  }
  return this;
}