GrowthRate class

Annotations
  • @freezed

Constructors

GrowthRate(int id, String name, String formula, List<Description> descriptions, List<GrowthRateExperienceLevel> levels, @JsonKey(name: 'pokemon_species') List<NamedAPIResource> pokemonSpecies)
const
factory
GrowthRate.fromJson(Json json)
factory

Properties

copyWith → $GrowthRateCopyWith<GrowthRate>
no setterinherited
descriptions List<Description>
The descriptions of this characteristic listed in different languages.
no setterinherited
formula String
The formula used to calculate the rate at which the Pokémon species gains level.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
The identifier for this resource.
no setterinherited
levels List<GrowthRateExperienceLevel>
A list of levels and the amount of experienced needed to atain them based on this growth rate.
no setterinherited
name String
The name for this resource.
no setterinherited
pokemonSpecies List<NamedAPIResource>
A list of Pokémon species that gain levels at this growth rate.
no setterinherited
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>
inherited
toString() String
A string representation of this object.
inherited

Operators

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