state_city_population 0.0.2 copy "state_city_population: ^0.0.2" to clipboard
state_city_population: ^0.0.2 copied to clipboard

Dart 1 only

Dart list of states and cities

state_city_population #

A library for Dart developers. It is awesome.

Usage #

A simple usage example:

  var stateCity = new StateCity();

  stateCity.init("BR").then((data) {
    print(stateCity.listStates());

    print(stateCity.listCities("SP"));

    stateCity.listCities("SP").forEach((city) {
      print("${city.name}: ${city.population}");
    });
  });

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
25
pub points
0%
popularity

Publisher

unverified uploader

Dart list of states and cities

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

More

Packages that depend on state_city_population