PollListQuery constructor
PollListQuery(
- PollListQueryParams params, {
- Chat? chat,
Implementation
PollListQuery(
this.params, {
Chat? chat,
}) : super(chat: chat ?? SendbirdChat().chat) {
if (params.limit != null) {
limit = (params.limit)!;
} else {
limit = BaseQuery.defaultPollListQueryLimit;
}
}