reportChannel method Null safety

Future<void> reportChannel(
  1. {required ReportCategory category,
  2. 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,
  ));
}