CommonValidators class abstract

Common validation patterns for project commands.

Provides reusable validation logic that can be shared across multiple commands to ensure consistency.

Constructors

CommonValidators()

Properties

hashCode int
The hash code for this object.
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

Static Methods

validateDirectoryExists(String path, String name, String createCommand) ValidationResult<String>
Validates that a directory exists and is accessible.
validateProjectStructure() ValidationResult<String>
Validates project structure prerequisites.
validateRequiredTools(Map<String, String> tools) ValidationResult<bool>
Validates that required tools are available.