GeneratorHooks constructor

const GeneratorHooks({
  1. HookFile? preGenHook,
  2. HookFile? postGenHook,
  3. List<int>? pubspec,
  4. String checksum = '',
})

Scripts that run automatically whenever a particular event occurs in a Generator.

Implementation

const GeneratorHooks({
  this.preGenHook,
  this.postGenHook,
  this.pubspec,
  this.checksum = '',
});