MoveMetaData class
Constructors
-
MoveMetaData(NamedAPIResource ailment, NamedAPIResource category, @JsonKey(name: 'min_hits') int? minHits, @JsonKey(name: 'max_hits') int? maxHits, @JsonKey(name: 'min_turns') int? minTurns, @JsonKey(name: 'max_turns') int? maxTurns, int drain, int healing, @JsonKey(name: 'crit_rate') int critRate, @JsonKey(name: 'ailment_chance') int ailmentChance, @JsonKey(name: 'flinch_chance') int flinchChance, @JsonKey(name: 'stat_chance') int statChance)
-
const
factory
-
MoveMetaData.fromJson(Json json)
-
factory
Properties
-
ailment
→ NamedAPIResource
-
The status ailment this move inflicts on its target.
no setterinherited
-
ailmentChance
→ int
-
The likelihood this attack will cause an ailment.
no setterinherited
-
category
→ NamedAPIResource
-
The category of move this move falls under, e.g. damage or ailment.
no setterinherited
-
copyWith
→ $MoveMetaDataCopyWith<MoveMetaData>
-
no setterinherited
-
critRate
→ int
-
Critical hit rate bonus.
no setterinherited
-
drain
→ int
-
HP drain (if positive) or Recoil damage (if negative), in percent of damage done.
no setterinherited
-
flinchChance
→ int
-
The likelihood this attack will cause the target Pokémon to flinch.
no setterinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
healing
→ int
-
The amount of hp gained by the attacking Pokemon, in percent of it's maximum HP.
no setterinherited
-
maxHits
→ int?
-
The maximum number of times this move hits. Null if it always only hits once.
no setterinherited
-
maxTurns
→ int?
-
The maximum number of turns this move continues to take effect.
Null if it always only lasts one turn.
no setterinherited
-
minHits
→ int?
-
The minimum number of times this move hits. Null if it always only hits once.
no setterinherited
-
minTurns
→ int?
-
The minimum number of turns this move continues to take effect.
Null if it always only lasts one turn.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
statChance
→ int
-
The likelihood this attack will cause a stat change in the target Pokémon.
no setterinherited