fix analyzer warnings

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-06-17 17:09:50 +05:30
parent b7efe258c9
commit 73d6527725
7 changed files with 11 additions and 13 deletions
@@ -98,12 +98,6 @@ class ChannelListCore extends StatefulWidget {
/// You can also filter other built-in channel fields.
final Filter? filter;
// bool state = true,
// bool watch = true,
// bool presence = false,
// int? memberLimit,
// int? messageLimit,
/// The sorting used for the channels matching the filters.
/// Sorting is based on field and direction, multiple sorting options can be
/// provided.
@@ -117,9 +111,13 @@ class ChannelListCore extends StatefulWidget {
/// If true listen to changes to this Channel in real time.
final bool watch;
/// If true youll receive user presence updates via the websocket events
final bool presence;
/// Number of members to fetch in each channel
final int? memberLimit;
/// Number of messages to fetch in each channel
final int? messageLimit;
/// Pagination parameters