A CLI tool to generate Dart model classes from JSON. Supports `json_serializable`, `copyWith`, and optional snake_case → camelCase conversion.

dart flutter json model
6 Open Issues Need Help Last updated: Aug 27, 2025

Open Issues Need Help

View All on GitHub
enhancement help wanted good first issue

A CLI tool to generate Dart model classes from JSON. Supports `json_serializable`, `copyWith`, and optional snake_case → camelCase conversion.

Dart
#dart#flutter#json#model
documentation enhancement help wanted good first issue

A CLI tool to generate Dart model classes from JSON. Supports `json_serializable`, `copyWith`, and optional snake_case → camelCase conversion.

Dart
#dart#flutter#json#model
documentation enhancement help wanted good first issue

A CLI tool to generate Dart model classes from JSON. Supports `json_serializable`, `copyWith`, and optional snake_case → camelCase conversion.

Dart
#dart#flutter#json#model

AI Summary: The issue describes a bug where Dart class names generated from JSON keys can start with numbers, resulting in invalid Dart code. The proposed solution is to sanitize these generated class names by either removing the leading digit or prepending a valid character like an underscore, ensuring all class names are valid Dart identifiers.

Complexity: 2/5
bug enhancement good first issue

A CLI tool to generate Dart model classes from JSON. Supports `json_serializable`, `copyWith`, and optional snake_case → camelCase conversion.

Dart
#dart#flutter#json#model

AI Summary: The issue proposes enhancing the generated `copyWith` method to allow explicitly setting fields to `null`. Currently, passing `null` to a `copyWith` parameter typically means retaining the field's existing value. The solution involves updating the `copyWith` implementation, potentially using optional parameters or a sentinel value, to distinguish between 'not provided' and 'explicitly null', and documenting this behavior.

Complexity: 2/5
enhancement good first issue

A CLI tool to generate Dart model classes from JSON. Supports `json_serializable`, `copyWith`, and optional snake_case → camelCase conversion.

Dart
#dart#flutter#json#model

AI Summary: This GitHub issue addresses the problem of invalid Dart code generation when JSON keys contain characters not allowed in Dart variable or class names. The proposed solution is to implement logic to sanitize these names by replacing or ignoring invalid characters (e.g., converting "user-name" to "userName"), ensuring the generated Dart code is valid and compilable.

Complexity: 2/5
enhancement good first issue

A CLI tool to generate Dart model classes from JSON. Supports `json_serializable`, `copyWith`, and optional snake_case → camelCase conversion.

Dart
#dart#flutter#json#model