withSub method
Add query parameters to fetch subscriptions
Implementation
MetaGetBuilder withSub(DateTime? ims, int? limit, String? userOrTopic) {
var opts = {'ims': ims, 'limit': limit};
if (topic.getType() == 'me') {
opts['topic'] = userOrTopic;
} else {
opts['user'] = userOrTopic;
}
what['sub'] = opts;
return this;
}