EvolutionChain class

Annotations
  • @freezed

Constructors

EvolutionChain(int id, @JsonKey(name: 'baby_trigger_item') NamedAPIResource? babyTriggerItem, ChainLink chain)
const
factory
EvolutionChain.fromJson(Json json)
factory

Properties

babyTriggerItem NamedAPIResource?
The item that a Pokémon would be holding when mating that would trigger the egg hatching a baby Pokémon rather than a basic Pokémon.
no setterinherited
chain ChainLink
The base chain link object. Each link contains evolution details for a Pokémon in the chain. Each link references the next Pokémon in the natural evolution order.
no setterinherited
copyWith → $EvolutionChainCopyWith<EvolutionChain>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
The identifier for this resource.
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