ChannelUserUnbanRequest constructor Null safety

ChannelUserUnbanRequest(
  1. {required ChannelType channelType,
  2. required String channelUrl,
  3. required String targetId}
)

Implementation

ChannelUserUnbanRequest({
  required ChannelType channelType,
  required String channelUrl,
  required String targetId,
}) : super() {
  url = '${channelType.urlString}/$channelUrl/ban/$targetId';
}