ItemCommon class abstract
Common properties between all items
- Inheritance
- Implementers
Constructors
-
ItemCommon({required String uniqueName, required String name, required String? description, required ItemType type, required String category, required String? productCategory, required List<
Patchlog> ? patchlogs, required String? imageName, required bool tradable, required String? releaseDate, required bool? excludeFromCodex, required String? wikiaThumbnail, required String? wikiaUrl}) -
Common properties between all items
const
Properties
- category → String
-
Item category.
final
- description → String?
-
Item decription.
final
- excludeFromCodex → bool?
-
Whether the item is excluded from the codex or not.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageName → String?
-
Item image name.
final
- name → String
-
Name of the item.
final
-
patchlogs
→ List<
Patchlog> ? -
Item changes throughout game version.
final
- productCategory → String?
-
Item product category.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- releaseDate → String?
-
The date the item was released in game.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, thetoStringmethod will be overridden to output this instance'sprops.no setterinherited - tradable → bool
-
Whether this item is tradable or not.
final
- type → ItemType
-
Item type.
final
- uniqueName → String
-
Unique name used within the game.
final
- wikiaThumbnail → String?
-
Wikia Item thumbnail url.
final
- wikiaUrl → String?
-
Item wikia url.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Creates a json map from the giving Item.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited