A simple fetch to the Pokemon Api

Features

  • get Pokemons list
  • PokemonApiError class

Getting started

pub get

Usage

You can get the list of Pokemons

  var awesomePokemonApi = PokemonApi();
  print('pokemons: ${await awesomePokemonApi.getPokemons()}');

Additional information

This is an example package used to explain the clean architecture.

Libraries

infraestructure_wc