DestinyItemPlugBase class

Annotations
  • @JsonSerializable()

Constructors

DestinyItemPlugBase()
DestinyItemPlugBase.fromJson(Map<String, dynamic> json)
factory

Properties

canInsert bool?
If true, this plug has met all of its insertion requirements. Big if true.
getter/setter pair
enabled bool?
If true, this plug will provide its benefits while inserted.
getter/setter pair
enableFailIndexes List<int>?
If a plug is not enabled, this will be populated with indexes into the plug item definition's plug.enabledRules property, so that you can show the reasons why it is not enabled. This list will be empty if the plug is enabled.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
insertFailIndexes List<int>?
If the plug cannot be inserted for some reason, this will have the indexes into the plug item definition's plug.insertionRules property, so you can show the reasons why it can't be inserted. This list will be empty if the plug can be inserted.
getter/setter pair
plugItemHash int?
The hash identifier of the DestinyInventoryItemDefinition that represents this plug.
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<DestinyItemPlugBase>