HooksCommand constructor

HooksCommand({
  1. required Map<String, List<String>> getHooks(),
  2. required void addHook(
    1. String event,
    2. String command
    ),
  3. required void removeHook(
    1. String event,
    2. int index
    ),
})

Implementation

HooksCommand({
  required this.getHooks,
  required this.addHook,
  required this.removeHook,
});