Interface for validating paths and names in WorkDB.
Implementations should validate:
- Collection names
- Item IDs
- File paths
This ensures that invalid characters or patterns don't cause issues with the underlying storage system.
- Implementers
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
-
isValidCollectionName(
String collection) → bool - Checks if a collection name is valid without throwing.
-
isValidItemId(
String id) → bool - Checks if an item ID is valid without throwing.
-
isValidPath(
String path) → bool - Checks if a path is valid without throwing.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validateCollectionName(
String collection) → void - Validates a collection name.
-
validateItemId(
String id) → void - Validates an item ID.
-
validatePath(
String path) → void - Validates a document path.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited