appwrite_generator 0.1.0
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
, andcopyWith
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)