ChannelMetaCounterGetRequest constructor Null safety
- {required ChannelType channelType,
- required String channelUrl,
- List<
String> keys = const []}
Implementation
ChannelMetaCounterGetRequest({
required ChannelType channelType,
required String channelUrl,
List<String> keys = const [],
}) : super() {
url = '${channelType.urlString}/$channelUrl/metacounter';
queryParams = {'include_ts': true};
if (keys.isNotEmpty) {
queryParams['keys'] = keys;
}
}