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

Annotation-based mock data generator for Dart. Define @Mockalization on classes to auto-generate realistic fake data factories with support for nullable types, collections, and 33+ data formats.

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.0

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
140
points
134
downloads

Publisher

verified publishersangik.o-r.kr

Weekly Downloads

Annotation-based mock data generator for Dart. Define @Mockalization on classes to auto-generate realistic fake data factories with support for nullable types, collections, and 33+ data formats.

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