json_to_dart_model_plus 0.0.9 json_to_dart_model_plus: ^0.0.9 copied to clipboard
A Dart package for generating Dart model code from JSON.
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.0.9] - 2024-10-21 #
Added #
- Initial release of the
json_to_dart_model
Dart package. - Added functionality to generate Dart model classes from JSON input.
- Supported types:
int
,double
,String
,bool
, anddynamic
. - Null safety included, allowing nullable fields (
int?
,String?
, etc.). fromJson
method for creating Dart models from JSON objects.toJson
method for converting Dart models to JSON maps.toString
method that outputs JSON string representation of the model.- Conversion from snake_case JSON keys to camelCase Dart field names.
- Basic
lints
andtest
dev dependencies for Dart-only project setup.