ModelClassName class
Represents a model class name with its associated metadata.
This class is used to track model class names during code generation, including their parent relationships and creation status to ensure unique naming when conflicts occur.
Constructors
- ModelClassName({required String className, required String parent, required bool created, String? parentList})
- Creates a new ModelClassName instance.
Properties
- className → String
-
The name of the class
final
- created → bool
-
Whether this class has been created/generated
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- parent → String
-
The parent context or container of this class
final
- parentList → String?
-
Optional parent list context
final
- 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.
override