AbilityPokemon class
- Annotations
-
- @freezed
Constructors
- AbilityPokemon(@JsonKey(name: 'is_hidden') bool isHidden, int slot, NamedAPIResource pokemon)
-
constfactory
- AbilityPokemon.fromJson(Json json)
-
factory
Properties
-
copyWith
→ $AbilityPokemonCopyWith<
AbilityPokemon> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isHidden → bool
-
Whether or not this a hidden ability for the referenced Pokémon.
no setterinherited
- pokemon → NamedAPIResource
-
The Pokémon this ability could belong to.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slot → int
-
Pokémon have 3 ability 'slots' which hold references to possible abilities they could have.
This is the slot of this ability for the referenced pokemon.
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