PastMoveStatValues class

Annotations
  • @freezed

Constructors

PastMoveStatValues(int? accuracy, @JsonKey(name: 'effect_chance') int? effectChance, int? power, int? pp, @JsonKey(name: 'effect_entries') List<VerboseEffect> effectEntries, NamedAPIResource? type, @JsonKey(name: 'version_group') NamedAPIResource versionGroup)
const
factory
PastMoveStatValues.fromJson(Json json)
factory

Properties

accuracy int?
The percent value of how likely this move is to be successful.
no setterinherited
copyWith → $PastMoveStatValuesCopyWith<PastMoveStatValues>
no setterinherited
effectChance int?
The percent value of how likely it is this moves effect will take effect.
no setterinherited
effectEntries List<VerboseEffect>
The effect of this move listed in different languages.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
power int?
The base power of this move with a value of 0 if it does not have a base power.
no setterinherited
pp int?
Power points. The number of times this move can be used.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type NamedAPIResource?
The elemental type of this move.
no setterinherited
versionGroup NamedAPIResource
The version group in which these move stat values were in effect.
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