AssetValidator class
Provides comprehensive validation for asset generation operations.
Validates configurations, file system state, permissions, and asset directory structures to ensure successful generation.
Constructors
- AssetValidator()
-
Creates a new AssetValidator instance.
const
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
-
validateAssetDirectories(
List< String> assetPaths, AssetConfig config) → ValidationResult - Validates asset directories and their contents.
-
validateAssetNaming(
List< Asset> assets) → ValidationResult - Validates asset naming conventions and detectts potential issues.
-
validateConfiguration(
AssetConfig config) → ValidationResult - Validates the complete asset configuration.
-
validateFilePermissions(
AssetConfig config) → ValidationResult - Validates file system permissions for asset generation.
-
validateOutputPath(
String outputPath) → ValidationResult - Validates the output path and ensures it's writable.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited