VersionGroup class
- Annotations
-
- @freezed
Constructors
-
VersionGroup(int id, String name, int order, NamedAPIResource generation, @JsonKey(name: 'move_learn_methods') List<
NamedAPIResource> moveLearnMethods, List<NamedAPIResource> pokedexes, List<NamedAPIResource> regions, List<NamedAPIResource> versions) -
constfactory
- VersionGroup.fromJson(Json json)
-
factory
Properties
-
copyWith
→ $VersionGroupCopyWith<
VersionGroup> -
no setterinherited
- generation → NamedAPIResource
-
The generation this version was introduced in.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
The identifier for this resource.
no setterinherited
-
moveLearnMethods
→ List<
NamedAPIResource> -
A list of methods in which Pokémon can learn moves in this version group.
no setterinherited
- name → String
-
The name for this resource.
no setterinherited
- order → int
-
Order for sorting.
Almost by date of release, except similar versions are grouped together.
no setterinherited
-
pokedexes
→ List<
NamedAPIResource> -
A list of Pokédexes introduces in this version group.
no setterinherited
-
regions
→ List<
NamedAPIResource> -
A list of regions that can be visited in this version group.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
versions
→ List<
NamedAPIResource> -
The versions this version group owns.
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