Item constructor
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,
Implementation
Item(
{this.id,
this.name,
this.cost,
this.flingPower,
this.flingEffect,
this.attributes,
this.category,
this.effectEntries,
this.flavorTextEntries,
this.gameIndices,
this.names,
this.sprites,
this.heldByPokemon,
this.babyTriggerFor});