pikadart 1.0.1
pikadart: ^1.0.1 copied to clipboard
This Dart package serves as a wrapper for the PokeApi, providing a convenient and efficient way to interact with the Pokémon API in Dart projects. The package is designed to simplify the process of ma [...]
import 'package:pikadart/pikadart.dart';
void main() {
// Use the general client
final pokeapiClient = PokeApiClient();
// Get pikachu data
final pikachu = pokeapiClient.pokemon.getPokemonByName('pikachu');
// Or use a specified client
final berriesClient = BerriesClient();
// Get a paginated list of berries
final berries = berriesClient.getBerryList(0, 20);
}