appwrite_generator 0.1.0 copy "appwrite_generator: ^0.1.0" to clipboard
appwrite_generator: ^0.1.0 copied to clipboard

A powerful Dart CLI tool that generates type-safe, production-ready Dart models from Appwrite configuration JSON files with automatic serialization and null-safety support.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.1.0 - 2025-10-03 #

Added #

  • Initial release of Appwrite Generator CLI tool
  • Generate type-safe Dart models from Appwrite configuration JSON files
  • Support for all Appwrite attribute types (string, integer, double, boolean, datetime, email, ip, url, enum, relationship)
  • Automatic generation of fromJson, toJson, and copyWith methods
  • Enum generation for enum-type columns with proper serialization
  • Attribute constants classes for type-safe property access
  • Null-safe code generation based on required flag in schema
  • Support for relationships between collections (one-to-one, one-to-many, many-to-one, many-to-many)
  • Comprehensive Flutter example app with 5-table to-do list schema
  • CLI commands: generate, update, version and help flags
  • Customizable input and output paths
  • Project structure with proper model organization (models per collection)
0
likes
150
points
102
downloads

Publisher

unverified uploader

Weekly Downloads

A powerful Dart CLI tool that generates type-safe, production-ready Dart models from Appwrite configuration JSON files with automatic serialization and null-safety support.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, cli_completion, mason_logger, mustache_template, path, pub_updater, recase, yaml

More

Packages that depend on appwrite_generator