PsPresetHierarchyEntry class final
One ordered item from a Photoshop phry hierarchy descriptor.
Constructors
- PsPresetHierarchyEntry({required int index, required PsPresetHierarchyEntryKind kind, required int depth, required String? classId, required String? name, required String? id, required int? presetIndex, required PsDescriptor? rawDescriptor})
-
Creates an immutable hierarchy item.
const
Properties
- classId → String?
-
Original Photoshop descriptor class, or
nullfor an empty slot.final - depth → int
-
Zero-based nesting depth at which this item appears.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
Photoshop identifier associated with the item, when stored or resolved.
final
- index → int
-
Zero-based position in the flattened hierarchy.
final
- kind → PsPresetHierarchyEntryKind
-
Semantic role inferred from the descriptor class.
final
- name → String?
-
User-visible group or preset name, when stored or resolved.
final
- presetIndex → int?
-
Index of the referred preset, when it could be resolved.
final
- rawDescriptor → PsDescriptor?
-
Complete source descriptor, or
nullfor an empty slot.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
-
resolvePreset<
T> (List< T> presets) → T? -
Returns the referred preset from
presets, when the mapping is valid. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited