random_person_data 1.0.1
random_person_data: ^1.0.1 copied to clipboard
A Dart package for fetching random user data from the Random User Generator API.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add random_person_dataThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
random_person_data: ^1.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:random_person_data/random_person_data.dart';