Type class

Constructors

Type({int id, String name, DamageRelations damageRelations, List<GameIndices> gameIndices, NamedAPIResource generation, NamedAPIResource moveDamageClass, List<Names> names, List<TypePokemon> pokemon, List<NamedAPIResource> moves})
Type.fromJson(Map<String, dynamic> json)

Properties

damageRelations DamageRelations
read / write
gameIndices List<GameIndices>
read / write
generation NamedAPIResource
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
read / write
moveDamageClass NamedAPIResource
read / write
moves List<NamedAPIResource>
read / write
name String
read / write
names List<Names>
read / write
pokemon List<TypePokemon>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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