OpenChannelRefreshRequest constructor Null safety

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

Implementation

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