DestinyItemReusablePlugsComponent class

Annotations
  • @JsonSerializable()

Properties

hashCode int
The hash code for this object.
no setterinherited
plugs Map<String, List<DestinyItemPlugBase>>?
If the item supports reusable plugs, this is the list of plugs that are allowed to be used for the socket, and any relevant information about whether they are "enabled", whether they are allowed to be inserted, and any other information such as objectives. A Reusable Plug is a plug that you can always insert into this socket as long as its insertion rules are passed, regardless of whether or not you have the plug in your inventory. An example of it failing an insertion rule would be if it has an Objective that needs to be completed before it can be inserted, and that objective hasn't been completed yet. In practice, a socket will either have reusable plugs or it will allow for plugs in your inventory to be inserted. See DestinyInventoryItemDefinition.socket for more info. KEY = The INDEX into the item's list of sockets. VALUE = The set of plugs for that socket. If a socket doesn't have any reusable plugs defined at the item scope, there will be no entry for that socket.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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<DestinyItemReusablePlugsComponent>