generator library

Project generation uses the shared pure Dart core implementation. Run it with dart run flutterflow_cloud:generate; app runtime code imports flutterflow_cloud.dart instead.

Classes

GenAggregation
GenField
One declared model field (or file-collection metadata / profile field).
GenFileCollection
GenFunction
Validated immutable public function contract (separate from source mapping).
GenModel
GenParam
GenProjectConfig
GenQuery

Enums

GenFieldKind
The scalar/base kind of a field or param.

Functions

emitProject({required GenProjectConfig config, required String prefix, Map<String, Object?>? options}) → Map<String, String>
Generates every output file for config. Keys are file names relative to the output directory (e.g. models.g.dart).
runGenerator(List<String> args) → Future<int>
Runs the generator; returns the process exit code.