PalParkEncounterArea class
- Annotations
-
- @freezed
Constructors
- PalParkEncounterArea(@JsonKey(name: 'base_score') int baseScore, int rate, NamedAPIResource area)
-
constfactory
- PalParkEncounterArea.fromJson(Json json)
-
factory
Properties
- area → NamedAPIResource
-
The pal park area where this encounter happens.
no setterinherited
- baseScore → int
-
The base score given to the player when the referenced Pokémon is caught during a pal park run.
no setterinherited
-
copyWith
→ $PalParkEncounterAreaCopyWith<
PalParkEncounterArea> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- rate → int
-
The base rate for encountering the referenced Pokémon in this pal park area.
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