PalParkEncounterSpecies class

Annotations
  • @freezed

Constructors

PalParkEncounterSpecies(@JsonKey(name: 'base_score') int baseScore, int rate, @JsonKey(name: 'pokemon_species') NamedAPIResource pokemonSpecies)
const
factory
PalParkEncounterSpecies.fromJson(Json json)
factory

Properties

baseScore int
The base score given to the player when this Pokémon is caught during a pal park run.
no setterinherited
copyWith → $PalParkEncounterSpeciesCopyWith<PalParkEncounterSpecies>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
pokemonSpecies NamedAPIResource
The Pokémon species being encountered.
no setterinherited
rate int
The base rate for encountering this Pokémon in this pal park area.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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