Type constructor

Type({
  1. int? id,
  2. String? name,
  3. DamageRelations? damageRelations,
  4. List<GameIndices>? gameIndices,
  5. NamedAPIResource? generation,
  6. NamedAPIResource? moveDamageClass,
  7. List<Names>? names,
  8. List<TypePokemon>? pokemon,
  9. List<NamedAPIResource>? moves,
})

Implementation

Type(
    {this.id,
    this.name,
    this.damageRelations,
    this.gameIndices,
    this.generation,
    this.moveDamageClass,
    this.names,
    this.pokemon,
    this.moves});