PokemonMove class

Annotations
  • @freezed

Constructors

PokemonMove(NamedAPIResource move, @JsonKey(name: 'version_group_details') List<PokemonMoveVersion> versionGroupDetails)
const
factory
PokemonMove.fromJson(Json json)
factory

Properties

copyWith → $PokemonMoveCopyWith<PokemonMove>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
move NamedAPIResource
The move the Pokémon can learn.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
versionGroupDetails List<PokemonMoveVersion>
The details of the version in which the Pokémon can learn the move.
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