random_users 0.1.0 copy "random_users: ^0.1.0" to clipboard
random_users: ^0.1.0 copied to clipboard

Just a static list of Random Users to be used for for all things.

Random Users #

Pub Build Status

Just a static list of Random Users to be used for for all things pulled from https://randomuser.me/.

Usage #

import 'package:random_users/random_users.dart';

// get the same 1000 users every time.
List<RandomUser> users = getUsers(1000);
print('Users: ${users.map((user) => user.firstName)}');

User data currently includes:

  • firstName
  • lastName
  • phoneNumber
  • userName
  • password
  • email
  • gender
  • largePicture
  • mediumPicture
  • thumbNail

Development #

Random Users leverages the dart_dev package for most of its tooling needs, including static analysis, code formatting, running tests, collecting coverage, and serving examples. Check out the dart_dev readme for more information.

Testing - pub run dart_dev test

Formatting - pub run dart_dev format

0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Just a static list of Random Users to be used for for all things.

Repository
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

dart2_constant

More

Packages that depend on random_users