isReportModeSupportedInPlatform method

bool isReportModeSupportedInPlatform(
  1. Report report,
  2. ReportMode reportMode
)

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) =>
    reportMode.getSupportedPlatforms().contains(report.platformType);