Pokemon class

Constructors

Pokemon({int id, String name, int baseExperience, int height, bool isDefault, int order, int weight, List<Abilities> abilities, List<NamedAPIResource> forms, List<GameIndices> gameIndices, List<HeldItems> heldItems, List<Moves> moves, NamedAPIResource species, Sprites sprites, List<Stats> stats, List<Types> types})
Pokemon.fromJson(Map<String, dynamic> json)

Properties

abilities List<Abilities>
read / write
baseExperience int
read / write
forms List<NamedAPIResource>
read / write
gameIndices List<GameIndices>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
height int
read / write
heldItems List<HeldItems>
read / write
id int
read / write
isDefault bool
read / write
moves List<Moves>
read / write
name String
read / write
order int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
species NamedAPIResource
read / write
sprites Sprites
read / write
stats List<Stats>
read / write
types List<Types>
read / write
weight int
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited