hasManualRule method

Future<bool> hasManualRule(
  1. String ruleKey
)

Check if a manual rule exists

Implementation

Future<bool> hasManualRule(String ruleKey) async {
  final manualRules = await _loadManualRules();
  return manualRules.any((rule) => rule['key']?.toString() == ruleKey);
}