faker_dart 0.0.6 copy "faker_dart: ^0.0.6" to clipboard
faker_dart: ^0.0.6 copied to clipboard

outdated

generate massive amounts of fake data in Dart & Flutter! A dart port of the famous faker.js

example/lib/example.dart

import 'package:faker_dart/faker_dart.dart';

void main(List<String> arguments) {
  final Faker faker = Faker.instance;

  print(faker.datatype.number());
  print(faker.name.fullName());
  print(faker.address.zipCode());
  print(faker.animal.animal());
  print(faker.commerce.price());

  /// combine all prevous using the fake method
  print(faker.fake(
      '{{name.firstName}}, {{datatype.boolean}}, and also: {{commerce.price}}'));
}
89
likes
0
pub points
92%
popularity

Publisher

verified publishercasvanluijtelaar.com

generate massive amounts of fake data in Dart & Flutter! A dart port of the famous faker.js

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection

More

Packages that depend on faker_dart