PokemonSprites class

Annotations
  • @freezed

Constructors

PokemonSprites(@JsonKey(name: 'front_default') String? frontDefault, @JsonKey(name: 'front_shiny') String? frontShiny, @JsonKey(name: 'front_female') String? frontFemale, @JsonKey(name: 'front_shiny_female') String? frontShinyFemale, @JsonKey(name: 'back_default') String? backDefault, @JsonKey(name: 'back_shiny') String? backShiny, @JsonKey(name: 'back_female') String? backFemale, @JsonKey(name: 'back_shiny_female') String? backShinyFemale)
const
factory
PokemonSprites.fromJson(Json json)
factory

Properties

backDefault String?
The default depiction of this Pokémon from the back in battle.
no setterinherited
backFemale String?
The female depiction of this Pokémon from the back in battle.
no setterinherited
backShiny String?
The shiny depiction of this Pokémon from the back in battle.
no setterinherited
backShinyFemale String?
The shiny female depiction of this Pokémon from the back in battle.
no setterinherited
copyWith → $PokemonSpritesCopyWith<PokemonSprites>
no setterinherited
frontDefault String?
The default depiction of this Pokémon from the front in battle.
no setterinherited
frontFemale String?
The female depiction of this Pokémon from the front in battle.
no setterinherited
frontShiny String?
The shiny depiction of this Pokémon from the front in battle.
no setterinherited
frontShinyFemale String?
The shiny female depiction of this Pokémon from the front in battle.
no setterinherited
hashCode int
The hash code for this object.
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