ItemHolderPokemonVersionDetail class
- Annotations
-
- @freezed
Constructors
- ItemHolderPokemonVersionDetail(int rarity, NamedAPIResource version)
-
constfactory
- ItemHolderPokemonVersionDetail.fromJson(Json json)
-
factory
Properties
-
copyWith
→ $ItemHolderPokemonVersionDetailCopyWith<
ItemHolderPokemonVersionDetail> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- rarity → int
-
How often this Pokémon holds this item in this version.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → NamedAPIResource
-
The version that this item is held in by the Pokémon.
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