---
title: "Comment by Alexander Semeniuk on \"Cleaner Flutter Vol. 6: Modeling some data\" | Hashnode"
description: "How do you use json_serializeable annotations (for example, @JsonKey) in model classes? You don&#39;t have access to field declaration in models."
url: "https://hashnode.com/posts/cleaner-flutter-vol-6/6201e59d4efba97010a97fc6/comment/641b23684ed75a1867a60440"
---

[Discussion](https://hashnode.com/posts/cleaner-flutter-vol-6/6201e59d4efba97010a97fc6)

Comment [Cleaner Flutter Vol. 6: Modeling some data](https://hashnode.com/posts/cleaner-flutter-vol-6/6201e59d4efba97010a97fc6)

[Alexander Semeniuk](https://hashnode.com/@alexsem)

[Mar 22, 2023](https://hashnode.com/posts/cleaner-flutter-vol-6/6201e59d4efba97010a97fc6/comment/641b23684ed75a1867a60440)

How do you use json\_serializeable annotations (for example, @JsonKey) in model classes? You don't have access to field declaration in models.
