VersionEncounterDetail class

Annotations
  • @freezed

Constructors

VersionEncounterDetail(NamedAPIResource version, @JsonKey(name: 'max_chance') int maxChance, @JsonKey(name: 'encounter_details') List<Encounter> encounterDetails)
const
factory
VersionEncounterDetail.fromJson(Json json)
factory

Properties

copyWith → $VersionEncounterDetailCopyWith<VersionEncounterDetail>
no setterinherited
encounterDetails List<Encounter>
A list of encounters and their specifics.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
maxChance int
The total percentage of all encounter potential.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version NamedAPIResource
The game version this encounter happens in.
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