pokemon 0.0.1 copy "pokemon: ^0.0.1" to clipboard
pokemon: ^0.0.1 copied to clipboard

Get a random name from Pokémon creatures.

example/pokemon_example.dart

import 'package:pokemon/pokemon.dart';

void main() {
  print(Pokemon.all());
  //=> ['Bulbasaur', …]

  print(Pokemon.random());
  //=> 'Snorlax'

  print(Pokemon.getName(147));
  //=> 'Dratini'

  print(Pokemon.getId('Dratini'));
  //=> 147
}
1
likes
140
points
31
downloads

Publisher

unverified uploader

Weekly Downloads

Get a random name from Pokémon creatures.

Repository (GitHub)

Topics

#pokemon #random

Documentation

API reference

License

MIT (license)

More

Packages that depend on pokemon