PokemonForm class
Constructors
PokemonForm (int id , String name , int order , @JsonKey(name: 'form_order') int formOrder , @JsonKey(name: 'is_default') bool isDefault , @JsonKey(name: 'is_battle_only') bool isBattleOnly , @JsonKey(name: 'is_mega') bool isMega , @JsonKey(name: 'form_name') String formName , NamedAPIResource pokemon , List <PokemonFormType > types , PokemonFormSprites sprites , @JsonKey(name: 'version_group') NamedAPIResource versionGroup , List <Name > names , @JsonKey(name: 'form_names') List <Name > formNames )
const
factory
PokemonForm.fromJson (Json json )
factory
Properties
copyWith
→ $PokemonFormCopyWith<PokemonForm >
no setter inherited
formName
→ String
The name of this form.
no setter inherited
formNames
→ List <Name >
The form specific form name of this Pokémon form, or empty if the form
does not have a specific name.
no setter inherited
formOrder
→ int
The order in which forms should be sorted within a species' forms.
no setter inherited
hashCode
→ int
The hash code for this object.
no setter inherited
id
→ int
The identifier for this resource.
no setter inherited
isBattleOnly
→ bool
Whether or not this form can only happen during battle.
no setter inherited
isDefault
→ bool
True for exactly one form used as the default for each Pokémon.
no setter inherited
isMega
→ bool
Whether or not this form requires mega evolution.
no setter inherited
name
→ String
The name for this resource.
no setter inherited
names
→ List <Name >
The form specific full name of this Pokémon form, or empty if the form
does not have a specific name.
no setter inherited
order
→ int
The order in which forms should be sorted within all forms.
Multiple forms may have equal order, in which case they should fall back
on sorting by name.
no setter inherited
pokemon
→ NamedAPIResource
The Pokémon that can take on this form.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
sprites
→ PokemonFormSprites
A set of sprites used to depict this Pokémon form in the game.
no setter inherited
types
→ List <PokemonFormType >
A list of details showing types this Pokémon form has.
no setter inherited
versionGroup
→ NamedAPIResource
The version group this Pokémon form was introduced in.
no setter inherited