country_generator 7.0.0 copy "country_generator: ^7.0.0" to clipboard
country_generator: ^7.0.0 copied to clipboard

A generator for generating country object from countries json.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add country_generator

With Flutter:

 $ flutter pub add country_generator

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  country_generator: ^7.0.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:country_generator/country_generator.dart';
1
likes
140
points
87
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A generator for generating country object from countries json.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

build, collection, path, yaml

More

Packages that depend on country_generator