isReportModeSupportedInPlatform method
Check if given report mode is enabled in current platform. Only supported handlers in given report mode can be used.
Implementation
bool isReportModeSupportedInPlatform(Report report, ReportMode reportMode) {
if (reportMode.getSupportedPlatforms().isEmpty) {
return false;
}
return reportMode.getSupportedPlatforms().contains(report.platformType);
}