ChainLink class
- Annotations
-
- @freezed
Constructors
-
ChainLink(@JsonKey(name: 'is_baby') bool isBaby, NamedAPIResource species, @JsonKey(name: 'evolution_details') List<
EvolutionDetail> evolutionDetails, @JsonKey(name: 'evolves_to') List<ChainLink> evolvesTo) -
constfactory
- ChainLink.fromJson(Json json)
-
factory
Properties
-
copyWith
→ $ChainLinkCopyWith<
ChainLink> -
no setterinherited
-
evolutionDetails
→ List<
EvolutionDetail> -
All details regarding the specific details of the referenced Pokémon species evolution.
no setterinherited
-
evolvesTo
→ List<
ChainLink> -
A List of chain objects.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBaby → bool
-
Whether or not this link is for a baby Pokémon.
This would only ever be true on the base link.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- species → NamedAPIResource
-
The Pokémon species at this point in the evolution chain.
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