ChannelMetaCounterCreateRequest constructor Null safety

ChannelMetaCounterCreateRequest(
  1. {required ChannelType channelType,
  2. required String channelUrl,
  3. required Map<String, int> metaCounter}
)

Implementation

ChannelMetaCounterCreateRequest({
  required ChannelType channelType,
  required String channelUrl,
  required Map<String, int> metaCounter,
}) : super() {
  url = '${channelType.urlString}/$channelUrl/metacounter';
  body = {'metacounter': metaCounter};
}