Generation class

Constructors

Generation({List<NamedAPIResource>? abilities, List<NamedAPIResource>? types, List<GenerationName>? names, NamedAPIResource? mainRegion, List<NamedAPIResource>? versionGroups, List<NamedAPIResource>? moves, String? name, int? id, List<NamedAPIResource>? pokemonSpecies})
Generation.fromJson(Map<String, dynamic> json)

Properties

abilities List<NamedAPIResource>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
mainRegion NamedAPIResource?
getter/setter pair
moves List<NamedAPIResource>?
getter/setter pair
name String?
getter/setter pair
names List<GenerationName>?
getter/setter pair
pokemonSpecies List<NamedAPIResource>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
types List<NamedAPIResource>?
getter/setter pair
versionGroups List<NamedAPIResource>?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited