isReportHandlerSupportedInPlatform method
Checks is report handler is supported in given platform. Only supported report handlers in given platform can be used.
Implementation
bool isReportHandlerSupportedInPlatform(
Report report,
ReportHandler reportHandler,
) {
if (reportHandler.getSupportedPlatforms().isEmpty) {
return false;
}
return reportHandler.getSupportedPlatforms().contains(report.platformType);
}