PokemonSpecies class
Constructors
-
PokemonSpecies(int id, String name, int order, @JsonKey(name: 'gender_rate') int genderRate, @JsonKey(name: 'capture_rate') int captureRate, @JsonKey(name: 'base_happiness') int? baseHappiness, @JsonKey(name: 'is_baby') bool isBaby, @JsonKey(name: 'is_legendary') bool isLegendary, @JsonKey(name: 'is_mythical') bool isMythical, @JsonKey(name: 'hatch_counter') int? hatchCounter, @JsonKey(name: 'has_gender_differences') bool hasGenderdifferences, @JsonKey(name: 'forms_switchable') bool formsSwitchable, @JsonKey(name: 'growth_rate') NamedAPIResource growthRate, @JsonKey(name: 'pokedex_numbers') List<PokemonSpeciesDexEntry> pokedexNumbers, @JsonKey(name: 'egg_groups') List<NamedAPIResource> eggGroups, NamedAPIResource color, NamedAPIResource? shape, @JsonKey(name: 'evolves_from_species') NamedAPIResource? evolvesFromSpecies, @JsonKey(name: 'evolution_chain') APIResource? evolutionChain, NamedAPIResource? habitat, NamedAPIResource generation, List<Name> names, @JsonKey(name: 'pal_park_encounters') List<PalParkEncounterArea> palParkEncounters, @JsonKey(name: 'flavor_text_entries') List<FlavorText> flavorTextEntries, @JsonKey(name: 'form_descriptions') List<Description> formDescriptions, List<Genus> genera, List<PokemonSpeciesVariety> varieties)
-
const
factory
-
PokemonSpecies.fromJson(Json json)
-
factory
Properties
-
baseHappiness
→ int?
-
The happiness when caught by a normal Pokéball; up to 255.
The higher the number, the happier the Pokémon.
no setterinherited
-
captureRate
→ int
-
The base capture rate; up to 255. The higher the number, the easier the catch.
no setterinherited
-
color
→ NamedAPIResource
-
The color of this Pokémon for Pokédex search.
no setterinherited
-
copyWith
→ $PokemonSpeciesCopyWith<PokemonSpecies>
-
no setterinherited
-
eggGroups
→ List<NamedAPIResource>
-
A list of egg groups this Pokémon species is a member of.
no setterinherited
-
evolutionChain
→ APIResource?
-
The evolution chain this Pokémon species is a member of.
no setterinherited
-
evolvesFromSpecies
→ NamedAPIResource?
-
The Pokémon species that evolves into this Pokemon_species.
no setterinherited
-
flavorTextEntries
→ List<FlavorText>
-
A list of flavor text entries for this Pokémon species.
no setterinherited
-
formDescriptions
→ List<Description>
-
Descriptions of different forms Pokémon take on within the Pokémon species.
no setterinherited
-
formsSwitchable
→ bool
-
Whether or not this Pokémon has multiple forms and can switch between them.
no setterinherited
-
genderRate
→ int
-
The chance of this Pokémon being female, in eighths; or -1 for genderless.
no setterinherited
-
genera
→ List<Genus>
-
The genus of this Pokémon species listed in multiple languages.
no setterinherited
-
generation
→ NamedAPIResource
-
The generation this Pokémon species was introduced in.
no setterinherited
-
growthRate
→ NamedAPIResource
-
The rate at which this Pokémon species gains levels.
no setterinherited
-
habitat
→ NamedAPIResource?
-
The habitat this Pokémon species can be encountered in.
no setterinherited
-
hasGenderdifferences
→ bool
-
Whether or not this Pokémon has visual gender differences.
no setterinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
hatchCounter
→ int?
-
Initial hatch counter: one must walk 255 × (hatch_counter + 1) steps before
this Pokémon's egg hatches, unless utilizing bonuses like Flame Body's.
no setterinherited
-
id
→ int
-
The identifier for this resource.
no setterinherited
-
isBaby
→ bool
-
Whether or not this is a baby Pokémon.
no setterinherited
-
isLegendary
→ bool
-
Whether or not this is a legendary Pokémon.
no setterinherited
-
isMythical
→ bool
-
Whether or not this is a mythical Pokémon.
no setterinherited
-
name
→ String
-
The name for this resource.
no setterinherited
-
names
→ List<Name>
-
The name of this resource listed in different languages.
no setterinherited
-
order
→ int
-
The order in which species should be sorted.
Based on National Dex order, except families are grouped together and sorted by stage.
no setterinherited
-
palParkEncounters
→ List<PalParkEncounterArea>
-
A list of encounters that can be had with this Pokémon species in pal park.
no setterinherited
-
pokedexNumbers
→ List<PokemonSpeciesDexEntry>
-
A list of Pokedexes and the indexes reserved within them for this Pokémon species.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
shape
→ NamedAPIResource?
-
The shape of this Pokémon for Pokédex search.
no setterinherited
-
varieties
→ List<PokemonSpeciesVariety>
-
A list of the Pokémon that exist within this Pokémon species.
no setterinherited