EvolutionDetail class

Annotations
  • @freezed

Constructors

EvolutionDetail(NamedAPIResource? item, NamedAPIResource trigger, int? gender, @JsonKey(name: 'held_item') NamedAPIResource? heldItem, @JsonKey(name: 'known_move') NamedAPIResource? knownMove, @JsonKey(name: 'known_move_type') NamedAPIResource? knownMoveType, NamedAPIResource? location, @JsonKey(name: 'min_level') int? minLevel, @JsonKey(name: 'min_happiness') int? minHappiness, @JsonKey(name: 'min_beauty') int? minBeauty, @JsonKey(name: 'min_affection') int? minAffection, @JsonKey(name: 'needs_overworld_rain') bool needsOverworldRain, @JsonKey(name: 'party_species') NamedAPIResource? partySpecies, @JsonKey(name: 'party_type') NamedAPIResource? partyType, @JsonKey(name: 'relative_physical_stats') int? relativePhysicalStats, @JsonKey(name: 'time_of_day') String timeOfDay, @JsonKey(name: 'trade_species') NamedAPIResource? tradeSpecies, @JsonKey(name: 'turn_upside_down') bool turnUpsideDown)
const
factory
EvolutionDetail.fromJson(Json json)
factory

Properties

copyWith → $EvolutionDetailCopyWith<EvolutionDetail>
no setterinherited
gender int?
The id of the gender of the evolving Pokémon species must be in order to evolve into this Pokémon species.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
heldItem NamedAPIResource?
The item the evolving Pokémon species must be holding during the evolution trigger event to evolve into this Pokémon species.
no setterinherited
item NamedAPIResource?
The item required to cause evolution this into Pokémon species.
no setterinherited
knownMove NamedAPIResource?
The move that must be known by the evolving Pokémon species during the evolution trigger event in order to evolve into this Pokémon species.
no setterinherited
knownMoveType NamedAPIResource?
The evolving Pokémon species must know a move with this type during the evolution trigger event in order to evolve into this Pokémon species.
no setterinherited
location NamedAPIResource?
The location the evolution must be triggered at.
no setterinherited
minAffection int?
The minimum required level of affection the evolving Pokémon species to evolve into this Pokémon species.
no setterinherited
minBeauty int?
The minimum required level of beauty the evolving Pokémon species to evolve into this Pokémon species.
no setterinherited
minHappiness int?
The minimum required level of happiness the evolving Pokémon species to evolve into this Pokémon species.
no setterinherited
minLevel int?
The minimum required level of the evolving Pokémon species to evolve into this Pokémon species.
no setterinherited
needsOverworldRain bool
Whether or not it must be raining in the overworld to cause evolution this Pokémon species.
no setterinherited
partySpecies NamedAPIResource?
The Pokémon species that must be in the players party in order for the evolving Pokémon species to evolve into this Pokémon species.
no setterinherited
partyType NamedAPIResource?
The player must have a Pokémon of this type in their party during the evolution trigger event in order for the evolving Pokémon species to evolve into this Pokémon species.
no setterinherited
relativePhysicalStats int?
The required relation between the Pokémon's Attack and Defense stats. 1 means Attack > Defense. 0 means Attack = Defense. -1 means Attack < Defense.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeOfDay String
The required time of day. Day or night.
no setterinherited
tradeSpecies NamedAPIResource?
Pokémon species for which this one must be traded.
no setterinherited
trigger NamedAPIResource
The type of event that triggers evolution into this Pokémon species.
no setterinherited
turnUpsideDown bool
Whether or not the 3DS needs to be turned upside-down as this Pokémon levels up.
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