checkFeaturesByPlatform method

CheckResult checkFeaturesByPlatform()

Implementation

CheckResult checkFeaturesByPlatform() {
  final platform = properties['Platform']?.toString().toLowerCase();
  if (platform == null) return CheckResult(RESULT_MAYBE_EMULATOR, null);

  if (platform.contains('android')) {
    return CheckResult(RESULT_EMULATOR, platform);
  }
  return CheckResult(RESULT_UNKNOWN, platform);
}