Item constructor

Item(
  1. {int id,
  2. String name,
  3. int cost,
  4. int flingPower,
  5. NamedAPIResource flingEffect,
  6. List<NamedAPIResource> attributes,
  7. NamedAPIResource category,
  8. List<EffectEntries> effectEntries,
  9. List<FlavorTextEntries> flavorTextEntries,
  10. List<GameIndices> gameIndices,
  11. List<Names> names,
  12. Sprites sprites,
  13. List<HeldByPokemon> heldByPokemon,
  14. 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});