Convert JSON to Dart class!

Input JSON to generate Dart class code, including nested objects!
input
result
 

Convert JSON to Dart class!

Input JSON to generate Dart class code, including nested objects!

Use Cases

- Models for API responses - Paste an API response to get a class for every nested object, ready to use. - Key names and optional fields - Keys follow Dart naming conventions and stay mapped to the original JSON keys with fromJson / toJson; fields missing in some items or set to null become optional (nullable).