Item class

Constructors

Item({int id, String name, int cost, int flingPower, NamedAPIResource flingEffect, List<NamedAPIResource> attributes, NamedAPIResource category, List<EffectEntries> effectEntries, List<FlavorTextEntries> flavorTextEntries, List<GameIndices> gameIndices, List<Names> names, Sprites sprites, List<HeldByPokemon> heldByPokemon, BabyTriggerFor babyTriggerFor})
Item.fromJson(Map<String, dynamic> json)

Properties

attributes List<NamedAPIResource>
read / write
babyTriggerFor BabyTriggerFor
read / write
category NamedAPIResource
read / write
cost int
read / write
effectEntries List<EffectEntries>
read / write
flavorTextEntries List<FlavorTextEntries>
read / write
flingEffect NamedAPIResource
read / write
flingPower int
read / write
gameIndices List<GameIndices>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
heldByPokemon List<HeldByPokemon>
read / write
id int
read / write
name String
read / write
names List<Names>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sprites Sprites
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited