HookConfig class

A single hook command parsed from rekeens.yaml.

Constructors

HookConfig({required String run, List<String>? when, String? description})
const

Properties

description → String?
Optional human-readable description shown in logs.
final
hashCode → int
The hash code for this object.
no setterinherited
run → String
Shell command to execute.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
when → List<String>?
Optional list of generator types that trigger this hook. null means "all generators".
final

Methods

appliesTo(String generatorType) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited