reportChannel method Null safety
- {required ReportCategory category,
- String? description}
Reports this channel with category
and description
(optional)
Implementation
Future<void> reportChannel({
required ReportCategory category,
String? description,
}) async {
await _sdk.api.send(ChannelReportRequest(
channelType: channelType,
channelUrl: channelUrl,
category: category,
));
}