HookCallback constructor
const
HookCallback({
- required String name,
- required HookEventType event,
- required Future<
HookResult> callback(), - Duration? timeout,
- bool internal = false,
Implementation
const HookCallback({
required this.name,
required this.event,
required this.callback,
this.timeout,
this.internal = false,
});