PackItem<T> class
final
Constructors
- PackItem({required SetonixData pack, required ItemLocation location, required T item})
- PackItem.fromRaw({required SetonixData pack, required String namespace, required String path, required T item})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setter
- item → T
-
final
- location → ItemLocation
-
final
- namespace → String
-
no setter
- pack → SetonixData
-
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
-
withItem<
E> (E backgroundTranslation) → PackItem< E>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
wrap<
T> ({required SetonixData pack, required String namespace, T? item, String? id}) → PackItem< T> ?