DataHub Code Generation Lib

This library is part of the DataHub Project.

Pub Version GitHub last commit Pub Likes

DataHub is a Cloud Development Ecosystem aiming to bring the power of Dart into the Cloud.

DataHub is still under development and is not to be considered production ready. Comprehensive documentation is yet to be released.


This library contains generators for:

  • TransferObjects
  • DataBeans
  • BrokerApis
  • HubClients / Providers


Add datahub_codegen and build_runner to the dev_dependencies of your projects pubspec.yaml file, or simply run:

$ dart pub add --dev datahub_codegen build_runner

To build generated code run:

$ dart run build_runner build