Gender class
- Annotations
-
- @freezed
Constructors
-
Gender(int id, String name, @JsonKey(name: 'pokemon_species_details') List<
PokemonSpeciesGender> pokemonSpeciesDetails, @JsonKey(name: 'required_for_evolution') List<NamedAPIResource> requiredForEvolution) -
constfactory
- Gender.fromJson(Json json)
-
factory
Properties
-
copyWith
→ $GenderCopyWith<
Gender> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
The identifier for this resource.
no setterinherited
- name → String
-
The name for this resource.
no setterinherited
-
pokemonSpeciesDetails
→ List<
PokemonSpeciesGender> -
A list of Pokémon species that can be this gender and how likely it is that they will be.
no setterinherited
-
requiredForEvolution
→ List<
NamedAPIResource> -
A list of Pokémon species that required this gender in order for
a Pokémon to evolve into them.
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