Pokemon constructor
Pokemon({
- int? id,
- String? name,
- int? baseExperience,
- int? height,
- bool? isDefault,
- int? order,
- int? weight,
- List<
Abilities> ? abilities, - List<
NamedAPIResource> ? forms, - List<
GameIndices> ? gameIndices, - List<
HeldItems> ? heldItems, - List<
Moves> ? moves, - NamedAPIResource? species,
- Sprites? sprites,
- List<
Stats> ? stats, - List<
Types> ? types,
Implementation
Pokemon(
{this.id,
this.name,
this.baseExperience,
this.height,
this.isDefault,
this.order,
this.weight,
this.abilities,
this.forms,
this.gameIndices,
this.heldItems,
this.moves,
this.species,
this.sprites,
this.stats,
this.types});