GroupChannelRefreshRequest constructor Null safety

GroupChannelRefreshRequest(
  1. String channelUrl,
  2. {List<ChannelQueryIncludeOption> options = const [],
  3. bool passive = false}
)

Implementation

GroupChannelRefreshRequest(
  String channelUrl, {
  List<ChannelQueryIncludeOption> options = const [],
  bool passive = false,
}) : super() {
  url = '${passive ? '/sdk/' : ''}group_channels/$channelUrl';
  queryParams = options.toJson();
}