datum_generator 1.1.0 copy "datum_generator: ^1.1.0" to clipboard
datum_generator: ^1.1.0 copied to clipboard

Code generator for the Datum framework — derives toDatumMap, fromMap, copyWith, and diff for entities via build_runner, wire-compatible with the runtime typed-schema layer.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add datum_generator

With Flutter:

 $ flutter pub add datum_generator

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

dependencies:
  datum_generator: ^1.1.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:datum_generator/datum_generator.dart';
0
likes
130
points
129
downloads
screenshot

Documentation

Documentation
API reference

Publisher

verified publishershreeman.dev

Weekly Downloads

Code generator for the Datum framework — derives toDatumMap, fromMap, copyWith, and diff for entities via build_runner, wire-compatible with the runtime typed-schema layer.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#offline-first #synchronization #database #flutter #supabase

Funding

Consider supporting this project:

buymeacoffee.com

License

MIT (license)

Dependencies

analyzer, build, meta, source_gen

More

Packages that depend on datum_generator