getManualFieldEnhancementNames method

List<String> getManualFieldEnhancementNames(
  1. {required Field field}
)

Returns a list of enhancement names active for a certain field in the persisted enhancements map.

Implementation

List<String> getManualFieldEnhancementNames({required Field field}) {
  return (enhancements![field.uniqueKey] ?? {})
      .entries
      .where((entry) => entry.key != autoModeSlotNumber)
      .map((entry) => entry.value)
      .toList();
}