faker_annotation 0.2.0 copy "faker_annotation: ^0.2.0" to clipboard
faker_annotation: ^0.2.0 copied to clipboard

Annotations for the faker code generator. Use @FakeIt() to generate fake factory functions for data classes.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add faker_annotation

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

dependencies:
  faker_annotation: ^0.2.0

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

Import it

Now in your Dart code, you can use:

import 'package:faker_annotation/faker_annotation.dart';
1
likes
0
points
216
downloads

Publisher

unverified uploader

Weekly Downloads

Annotations for the faker code generator. Use @FakeIt() to generate fake factory functions for data classes.

Repository (GitHub)
View/report issues

Topics

#testing #mocking #faker #code-generation

License

unknown (license)

Dependencies

faker, meta

More

Packages that depend on faker_annotation