DestinyItemIntrinsicSocketEntryDefinition class
Represents a socket that has a plug associated with it intrinsically. This is useful for situations where the weapon needs to have a visual plug/Mod on it, but that plug/Mod should never change.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyItemIntrinsicSocketEntryDefinition()
-
DestinyItemIntrinsicSocketEntryDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
- defaultVisible ↔ bool?
-
If true, then this socket is visible in the item's "default" state. If you have an instance, you should always check the runtime state, as that can override this visibility setting: but if you're looking at the item on a conceptual level, this property can be useful for hiding data such as legacy sockets - which remain defined on items for infrastructure purposes, but can be confusing for users to see.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- plugItemHash ↔ int?
-
Indicates the plug that is intrinsically inserted into this socket.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- socketTypeHash ↔ int?
-
Indicates the type of this intrinsic socket.
getter/setter pair
Methods
-
asyncToJson(
) → Future< Map< String, dynamic> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
asyncFromJson(
Map< String, dynamic> json) → Future<DestinyItemIntrinsicSocketEntryDefinition>