HooksConfig class
The configuration to create dependency-injected Hooks via HooksProvider.
- Annotations
-
- @freezed
Constructors
-
HooksConfig({@Default(false) bool fixImports, @Default(false) bool libraryImports, @Default(false) bool format, @Default(false) bool analyze, OutdatedLevel? outdated, @Default(false) bool nullsafe, @Default(false) bool pullUpDependencies, @Default(false) bool continueOnRejected, List<
TaskBase> ? extraTasks}) -
Default constructor.
constfactory
Properties
- analyze → bool
-
Specifies, whether the AnalyzeTask should be enabled.
no setterinherited
- continueOnRejected → bool
-
Sets Hooks.continueOnRejected.
no setterinherited
-
copyWith
→ $HooksConfigCopyWith<
HooksConfig> -
no setterinherited
-
extraTasks
→ List<
TaskBase> ? -
A list of additional tasks to be added to the hook.
no setterinherited
- fixImports → bool
-
Specifies, whether the FixImportsTask should be enabled.
no setterinherited
- format → bool
-
Specifies, whether the FormatTask should be enabled.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- libraryImports → bool
-
Specifies, whether the
LibraryImportsTask
should be enabled.no setterinherited - nullsafe → bool
-
Specifies, whether the OutdatedTask in nullsafety mode should be
enabled.
no setterinherited
- outdated → OutdatedLevel?
-
Specifies, whether the OutdatedTask in default mode should be enabled.
no setterinherited
- pullUpDependencies → bool
-
Specifies, whether the PullUpDependenciesTask should be enabled.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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