mockalization_factory 2.0.2 copy "mockalization_factory: ^2.0.2" to clipboard
mockalization_factory: ^2.0.2 copied to clipboard

Annotation-based mock data generator for Dart. Add @Mockalization to classes to auto-generate realistic fake data with nullable, collection, and format support.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add mockalization_factory

With Flutter:

 $ flutter pub add mockalization_factory

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

dependencies:
  mockalization_factory: ^2.0.2

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:mockalization_factory/mockalization_factory.dart';
2
likes
160
points
137
downloads

Publisher

verified publishersangik.o-r.kr

Weekly Downloads

Annotation-based mock data generator for Dart. Add @Mockalization to classes to auto-generate realistic fake data with nullable, collection, and format support.

Repository (GitHub)
View/report issues

Topics

#mock #fake-data #testing #code-generation #faker

Documentation

API reference

License

MIT (license)

Dependencies

faker, uuid

More

Packages that depend on mockalization_factory