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>?
getter/setter pair
baseExperience int?
getter/setter pair
forms List<NamedAPIResource>?
getter/setter pair
gameIndices List<GameIndices>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int?
getter/setter pair
heldItems List<HeldItems>?
getter/setter pair
id int?
getter/setter pair
isDefault bool?
getter/setter pair
moves List<Moves>?
getter/setter pair
name String?
getter/setter pair
order int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
species NamedAPIResource?
getter/setter pair
sprites Sprites?
getter/setter pair
stats List<Stats>?
getter/setter pair
types List<Types>?
getter/setter pair
weight int?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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