PollListQuery constructor

PollListQuery(
  1. PollListQueryParams params,
  2. {Chat? chat}
)

Implementation

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