Skip to content

Evolution

EvolutionChain

The EvolutionChain class can be used to make request to /evolution-chain/{id} endpoint.

val evolutionChain = PokeApi.get<EvolutionChain>(id = 1)

You cannot used PokeApi.get<EvolutionChain>(name = '...') for this class

EvolutionTrigger

The EvolutionChain class can be used to make request to /evolution-trigger/{id or name} endpoint.

val evolutionTrigger = PokeApi.get<EvolutionTrigger>(id = 1)