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?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hatesFlavor NamedAPIResource?
getter/setter pair
id int?
getter/setter pair
increasedStat NamedAPIResource?
getter/setter pair
likesFlavor NamedAPIResource?
getter/setter pair
moveBattleStylePreferences List<MoveBattleStylePreferences>?
getter/setter pair
name String?
getter/setter pair
names List<Names>?
getter/setter pair
pokeathlonStatChanges List<PokeathlonStatChanges>?
getter/setter pair
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>
toString() String
A string representation of this object.
override

Operators

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