Wrapper for Poke API, written in Dart. Supports PokeAPI v2.
Full API documentation can be found at Poke API.
To use this plugin, add pokeapi
as a dependency in your pubspec.yaml file.
import 'package:pokeapi/pokeapi.dart';
Berries
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Berry>(1, 1);
Must pass an ID as Int as Int (e.g. 1).
var response = PokeAPI.getObject<Berry>(1);
Berry Firmness
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<BerryFirmness>(1, 1);
Must pass an ID as Int as Int (e.g. 1).
var response = PokeAPI.getObject<BerryFirmness>(1);
Berry Flavors
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<BerryFlavor>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<BerryFlavor>(1);
Contest Types
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<ContestType>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<ContestType>(1);
Contest Effects
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<ContestEffect>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<ContestEffect>(1);
Super Contest Effects
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<SuperContestEffect>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<SuperContestEffect>(1);
Encounter Methods
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<EncounterMethod>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<EncounterMethod>(1);
Encounter Conditions
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<EncounterCondition>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<EncounterCondition>(1);
Encounter Condition Values
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<EncounterConditionValue>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<EncounterConditionValue>(1);
Evolution Chains
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<EvolutionChain>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<EvolutionChain>(1);
Evolution Triggers
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<EvolutionTrigger>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<EvolutionTrigger>(1);
Generations
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Generation>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Generation>(1);
Pokedex
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Pokedex>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Pokedex>(1);
Versions
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Version>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Version>(1);
Version Groups
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<VersionGroup>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<VersionGroup>(1);
Items
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Item>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Item>(1);
Item Attributes
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<ItemAttribute>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<ItemAttribute>(1);
Item Categories
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<ItemCategory>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<ItemCategory>(1);
Item Fling Effects
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<ItemFlingEffect>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<ItemFlingEffect>(1);
Item Pockets
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<ItemPocket>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<ItemPocket>(1);
Locations
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Location>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Location>(1);
Location Areas
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<LocationArea>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<LocationArea>(1);
Pal Park Areas
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<PalParkArea>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<PalParkArea>(1);
Regions
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Region>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Region>(1);
Machines
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Machine>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Machine>(1);
Moves
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Move>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Move>(1);
Move Ailments
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<MoveAilment>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<MoveAilment>(1);
Move Battle Styles
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<MoveBattleStyle>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<MoveBattleStyle>(1);
Move Categories
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<MoveCategory>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<MoveCategory>(1);
Move Damage Classes
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<MoveDamageClass>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<MoveDamageClass>(1);
Move Learn Methods
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<MoveLearnMethod>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<MoveLearnMethod>(1);
Move Targets
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<MoveTarget>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<MoveTarget>(1);
Abilities
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Ability>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Ability>(1);
Characteristics
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Characteristic>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Characteristic>(1);
Egg Groups
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<EggGroup>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<EggGroup>(1);
Genders
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Gender>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Gender>(1);
Growth Rates
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<GrowthRate>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<GrowthRate>(1);
Natures
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Nature>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Nature>(1);
Pokeathlon Stats
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<PokeAthlon>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<PokeAthlon>(1);
Pokemon
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Pokemon>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Pokemon>(1);
Pokemon Colors
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<PokemonColor>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<PokemonColor>(1);
Pokemon Forms
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<PokemonForm>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<PokemonForm>(1);
Pokemon Habitats
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<PokemonHabitat>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<PokemonHabitat>(1);
Pokemon Shapes
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<PokemonShape>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<PokemonShape>(1);
Pokemon Species
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<PokemonSpecie>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<PokemonSpecie>(1);
Stats
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Stat>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Stat>(1);
Types
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Type>(1, 1);
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Type>(1);