MoveBattleStylePreference class
- Annotations
-
- @freezed
Constructors
- MoveBattleStylePreference(@JsonKey(name: 'low_hp_preference') int lowHpPreference, @JsonKey(name: 'high_hp_preference') int highHpPreference, @JsonKey(name: 'move_battle_style') NamedAPIResource moveBattleStyle)
-
constfactory
- MoveBattleStylePreference.fromJson(Json json)
-
factory
Properties
-
copyWith
→ $MoveBattleStylePreferenceCopyWith<
MoveBattleStylePreference> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- highHpPreference → int
-
Chance of using the move, in percent, if HP is over one half.
no setterinherited
- lowHpPreference → int
-
Chance of using the move, in percent, if HP is under one half.
no setterinherited
- moveBattleStyle → NamedAPIResource
-
The move battle style.
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