ContestEffect class
- Annotations
-
- @freezed
Constructors
-
ContestEffect(int id, int appeal, int jam, @JsonKey(name: 'effect_entries') List<
Effect> effectEntries, @JsonKey(name: 'flavor_text_entries') List<FlavorText> flavorTextEntries) -
constfactory
- ContestEffect.fromJson(Json json)
-
factory
Properties
- appeal → int
-
The base number of hearts the user of this move gets.
no setterinherited
-
copyWith
→ $ContestEffectCopyWith<
ContestEffect> -
no setterinherited
-
effectEntries
→ List<
Effect> -
The result of this contest effect listed in different languages.
no setterinherited
-
flavorTextEntries
→ List<
FlavorText> -
The flavor text of this contest effect listed in different languages.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
The identifier for this resource.
no setterinherited
- jam → int
-
The base number of hearts the user's opponent loses.
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