HookExecutionEvent constructor

const HookExecutionEvent({
  1. required String hookId,
  2. required String hookName,
  3. required HookType type,
  4. required HookContext context,
  5. required HookResult result,
  6. required Duration duration,
  7. Object? error,
  8. StackTrace? errorStackTrace,
  9. required DateTime timestamp,
})

Implementation

const HookExecutionEvent({
  required this.hookId,
  required this.hookName,
  required this.type,
  required this.context,
  required this.result,
  required this.duration,
  this.error,
  this.errorStackTrace,
  required this.timestamp,
});