Nature class

Constructors

Nature({int id, String name, NamedAPIResource decreasedStat, NamedAPIResource increasedStat, NamedAPIResource likesFlavor, NamedAPIResource hatesFlavor, List<PokeathlonStatChanges> pokeathlonStatChanges, List<MoveBattleStylePreferences> moveBattleStylePreferences, List<Names> names})
Nature.fromJson(Map<String, dynamic> json)

Properties

decreasedStat NamedAPIResource
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
hatesFlavor NamedAPIResource
read / write
id ↔ int
read / write
increasedStat NamedAPIResource
read / write
likesFlavor NamedAPIResource
read / write
moveBattleStylePreferences ↔ List<MoveBattleStylePreferences>
read / write
name ↔ String
read / write
names ↔ List<Names>
read / write
pokeathlonStatChanges ↔ List<PokeathlonStatChanges>
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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